API Documentation
Toggle TOC panel
<access-service>/api/v1/objects/bulk

URL structure

1 https://access-service.xy-company.com/api/v1/objects/bulk

Supported methods and overview

Detailed description

This API endpoint disables or (re-)enables one or more Secure Objects.

It is also possible to disable or (re-)enable a single Secure Object by calling the <access-service>/api/v1/organisations/{orgGroupId}/objects/{objectId}/enable API endpoint.

Supported roles

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.

Required headers

  • Authorization: Bearer a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6
    where the Bearer token is the appropriate access token.
  • Content-Type: application/json

Required parameters

The following required parameter must be sent in the URL of the POST request:

  • action - enable or disable.

    Example:

    1 https://access-service.xy-company.com/api/v1/objects/bulk?action=disable

Optional parameters

The following optional parameter can be sent in the body of the POST request, as an individual member of a JSON object:

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:

  • {}

Returns

If the request succeeded, then an HTTP response status 200 OK is returned.