PUT
/
v1
/
organisations
/
{organisationId}
curl --request PUT \
  --url https://wmc.wiremockapi.cloud/v1/organisations/{organisationId} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "organisation": {
    "name": "Acmefy Inc."
  }
}'
{
  "organisation": {
    "id": "mgk7g",
    "name": "docs@example.com personal organisation",
    "aclSubject": "0vzog",
    "aclObject": "gkqmy",
    "emailAddress": "docs@example.com",
    "links": {
      "self": "/v1/organisations/mgk7g",
      "users": "/v1/organisations/mgk7g/users",
      "teams": "/v1/organisations/mgk7g/teams",
      "subscription": "/v1/subscriptions/qmr8z",
      "invitations": "/v1/organisations/mgk7g/invitations",
      "aclSubject": "/v1/acl/subjects/0vzog",
      "aclObject": "/v1/acl/objects/gkqmy",
      "acl": "/v1/organisations/mgk7g/acl{?subjectId}"
    }
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

organisationId
string
required

Body

application/json
organisation
object
required

Response

200
application/json
200 response
organisation
object
required