![]() |
API Documentation
|
POST - used to perform a specific action on one or more Covata users (i.e. disable, enable, expire tokens/sessions, force passwords to be reset or delete).This API endpoint performs any one of the following actions on one or more Covata users (each of which is specified by their Covata user ID):
PUT method of the <access-service>/api/v1/users/{userid} API endpoint.DELETE method of the <access-service>/api/v1/users/{userid} API endpoint. delete), which changes the state of all Secure Objects that these users currently own to Deleted. If you call this endpoint first, then the available storage space reported by the Covata Platform is likely to remain significantly lower and will continue to do so, since the Covata Platform can no longer authenticate these users to obtain the appropriate access tokens required to manipulate these Secure Objects' data in storage through the Covata API.This API endpoint supports the following Covata user roles (as described in the Covata Platform Administrator's Guide):
The Covata Platform's resources available to one of these Covata users (above) is determined by the access token passed in the header of requests to this endpoint.
Authorization: Bearer a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6 Bearer token is the appropriate access token.Content-Type: application/jsonThe following required parameter must be sent in the URL of the POST request:
action - disable, enable, expire, resetPassword or delete.
Example ():
The following optional parameter can be sent in the body of the POST request, as an individual member of a JSON object:
ids - An array of Covata user IDs.
Example ():
Although omitting the ids parameter above in a request serves no purpose, an empty JSON object must at least be passed in the body of POST requests to this endpoint for a successful response:
{}If the request succeeded, then an HTTP response status 200 OK is returned.