# Change the organisation's profile (owner, admin)

`PATCH /organizations/{id}/profile` · Rivier · workspace

Change the organisation's profile (owner, admin).

- Scope: workspace:admin
- Mcp: rivier_organisation_profile_update
- Graphql: Mutation.workspaceOrgProfileUpdate
- Sdk: workspace.orgProfile.update
- Cli: workspace org profile update

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "logo_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "legal_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ]
    },
    "address": {
      "type": "object",
      "properties": {
        "line1": {
          "type": "string",
          "maxLength": 200
        },
        "line2": {
          "type": "string",
          "maxLength": 200
        },
        "city": {
          "type": "string",
          "maxLength": 100
        },
        "region": {
          "type": "string",
          "maxLength": 100
        },
        "postal_code": {
          "type": "string",
          "maxLength": 32
        },
        "country": {
          "type": "string",
          "minLength": 2,
          "maxLength": 2
        }
      },
      "additionalProperties": false
    },
    "billing_contact_email": {
      "anyOf": [
        {
          "type": "string",
          "format": "email",
          "maxLength": 320
        },
        {
          "type": "null"
        }
      ]
    },
    "default_language": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "en",
            "de",
            "es",
            "fr",
            "ja",
            "ar",
            "sv",
            "dv"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "default_currency": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z]{3}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "default_time_zone": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X PATCH 'https://api.rivier.ai/organizations/{id}/profile' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "logo_url": "https://example.com",
  "legal_name": "string",
  "address": {
    "line1": "string",
    "line2": "string",
    "city": "string",
    "region": "string",
    "postal_code": "string",
    "country": "string"
  },
  "billing_contact_email": "name@example.com",
  "default_language": "en",
  "default_currency": "string",
  "default_time_zone": "string"
}'
```
