API Documentation
|
PUT
- sets a supported locale as the SafeShare administrator's default locale.This API endpoint sets a supported locale as the SafeShare administrator's default locale. This is equivalent to setting the System Default language through the Internationalization page of SafeShare Administration.
The SafeShare administrator's default locale serves a number of purposes:
This API endpoint supports the following Cocoon Data user roles (as described in the SafeShare Administrator's Guide):
The Cocoon Data Platform's resources available to a Cocoon Data user meeting the criteria above is determined by the access token submitted in the header of requests to this endpoint.
The appropriate access token as the Bearer
token:
Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...
The following header is required if the body of the request has a JSON object:
Content-Type: application/json
The following required parameter must be sent in the body of the PUT request, as an individual member of a JSON object:
If the request succeeded, then an HTTP response status 200 OK
is returned.
For successful requests only, the following string is returned in the body of the response: