curl --request PUT \
--url https://app.dynamicauth.com/api/v0/organizations/{organizationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "An example name",
"description": "An example name",
"websiteUrl": "https://website-sample.com"
}'
{
"organization": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"name": "Acme Corp",
"description": "An example name",
"websiteUrl": "https://website-sample.com"
}
}
curl --request PUT \
--url https://app.dynamicauth.com/api/v0/organizations/{organizationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "An example name",
"description": "An example name",
"websiteUrl": "https://website-sample.com"
}'
{
"organization": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"name": "Acme Corp",
"description": "An example name",
"websiteUrl": "https://website-sample.com"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of organization
36
"95b11417-f18f-457f-8804-68e361f9164f"
User new fields data
The body is of type object
.
successful operation - organization fields updated
The response is of type object
.
Was this page helpful?