Update Current Organization
Update the current organization.
/api/v1/organizations/Authentication
Syllable-API-KeyrequiredSend Syllable-API-Key in the header.
Need a credential? Create or manage an API token in the Syllable Console.
Parameters
This endpoint has no declared parameters.
Request body
multipart/form-data
body
Body_organizations_update
required
6 fields
logostring (binary) | nulloptionalThe organization logo image file to upload. Must be a PNG file and 120x120 pixels. If not provided, the logo will not be updated.
display_namestringrequiredThe human-readable display name of the organization
descriptionstring | nulloptionalDescription of the organization
domainsstring | nulloptionalComma-delimited list of domains that users at the organization may have in their email addresses
saml_provider_idstring | nulloptionalSAML provider ID for user authentication
update_commentsstring | nulloptionalComments about the update
Request example
{
"logo": "string",
"display_name": "string",
"description": "string",
"domains": "string",
"saml_provider_id": "string",
"update_comments": "string"
}Responses
200Successful Response
application/json
response
OrganizationResponse
required
11 fields
display_namestringrequiredThe human-readable display name of the organization.
descriptionstring | nulloptionalDescription of the organization.
domainsstring | nulloptionalComma-delimited list of domains that users at the organization may have in their email addresses.
saml_provider_idstring | nulloptionalSAML provider ID for user authentication
idintegerrequiredThe internal ID of the organization.
last_updated_commentsstring | nulloptionalComments for the most recent edit to the organization.
namestringrequiredUnique, non-human-readable hash for the organization
slugstring | nulloptionalThe slug of the organization used for URLs in the Console UI. Null until slug backfill has been run.
last_updatedstring (date-time)requiredThe timestamp of the most recent update to the organization
last_updated_bystring | nulloptionalThe email of the user who most recently updated the organization
logo_urlstring | nulloptionalCDN URL. The org will always have a logo, but this value will be null on a response to an update where no logo was provided on the request
Response example
{
"display_name": "string",
"description": "string",
"domains": "string",
"saml_provider_id": "string",
"id": 0,
"last_updated_comments": "string",
"name": "string",
"slug": "string",
"last_updated": "string",
"last_updated_by": "string",
"logo_url": "string"
}422Validation Error
application/json
response
HTTPValidationError
required
1 field
detailValidationError[]optionalItem schema
itemsValidationErrorrequired3 fields
locstring | integer[]requiredItem schema
itemsstring | integerrequired2 options
Option 1stringrequiredOption 2integerrequiredmsgstringrequiredtypestringrequiredResponse example
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
