Skip to main content
PATCH
/
organizations
/
v2
/
rs
/
my
Update my organization
curl --request PATCH \
  --url https://z52mnqg347.execute-api.eu-west-3.amazonaws.com/main/organizations/v2/rs/my \
  --header 'Authorization: Bearer <token>' \
  --header 'content-type: <content-type>' \
  --header 'x-session-token: <x-session-token>' \
  --data '
{
  "name": "Organization Name",
  "language": 1,
  "timezone": "Europe/Paris"
}
'
{
  "data": {
    "id": 1,
    "type": 2,
    "name": "Organization Name",
    "comment": "Comment",
    "uploadSizeLimit": 5120,
    "uploadSizeUsed": 0,
    "language": 1,
    "timezone": "Europe/Paris",
    "engagementDuration": 12,
    "engagementEndAt": "2024-12-01T12:34:56.000Z",
    "engagementStartAt": "2024-01-01T12:34:56.000Z",
    "renewAt": "2025-01-01T12:34:56.000Z",
    "onboardingStatus": 2,
    "onboardingUpdatedAt": "2024-12-01T12:34:56.000Z",
    "accessStatus": 2,
    "accessStatusUpdatedAt": "2024-12-01T12:34:56.000Z",
    "createdByUserId": 1,
    "contractType": 1,
    "address": "123 Main St, City, Country",
    "settings": {
      "anomalyRiskFormat": "letter"
    },
    "archivedAt": "2024-12-01T12:34:56.000Z",
    "deletedAt": "2024-12-01T12:34:56.000Z",
    "updatedAt": "2024-12-01T12:34:56.000Z",
    "createdAt": "2024-12-01T12:34:56.000Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

content-type
string
required

Content type, must be "application/json".

Allowed value: "application/json"
x-session-token
string
required

Session token used for authenticating the request.

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"

Body

application/json

Details required to update my organization

name
string

Name of the organization.

Maximum string length: 100
Example:

"Organization Name"

language
enum<number>

Language of the organization.

Available options:
1,
2,
3
Example:

1

timezone
string

Timezone of the organization.

Maximum string length: 100
Example:

"Europe/Paris"

Response

200 - application/json

My organization has been updated

data
object
required