diff --git a/openapi/stellar-disbursement-platform/main.yml b/openapi/stellar-disbursement-platform/main.yml index 8a98418af..30a27742a 100644 --- a/openapi/stellar-disbursement-platform/main.yml +++ b/openapi/stellar-disbursement-platform/main.yml @@ -1490,9 +1490,25 @@ paths: description: 'Updates the organization profile details. Only account owners have permission to do this. Note: both fields are optional but at least one should be sent in the request. It is not necessary to set the header Content-Type for this request. It is set automatically by the HTTP client.' tags: - Organization - parameters: [] + consumes: + - multipart/form-data produces: - application/json + parameters: + - in: formData + name: logo + type: file + description: 'The logo of the organization, file type must be png or jpeg.' + - in: formData + name: data + type: string + format: json + description: > + A JSON string that contains the details to update. Contains the following keys: + `organization_name` (string): the new name of the organization, + `timezone_utc_offset` (string): the new timezone offset of the organization, + `is_approval_workflow_enabled` (boolean): whether the approval workflow is enabled or not. + For example: '{"organization_name": "NewOrgName", "timezone_utc_offset": "+02:00", "is_approval_workflow_enabled": true}' security: - BearerAuth: [] /organization/logo: @@ -2186,6 +2202,10 @@ definitions: timezone_utc_offset: type: string example: '+00:00' + is_approval_workflow_enabled: + description: 'Enables multi-user approval workflow for disbursements' + type: boolean + example: true Pagination: type: "object"