Batch taxonomy permission operations

post

/content/management/api/v1.1/taxonomies/{id}/permissions/.batch

Supports synchronous invocation only.
Request payload can have maximum of 25 items. Each item is processed independently.

Request

Supported Media Types
Path Parameters
Query Parameters
  • This parameter accepts a comma-separated list of operation names. The allowed value is add
Header Parameters
  • This parameter is used to control the interaction type (synchronous/asynchronous) of the request. If the header is provided with value respond-async, it indicates that asynchronous interaction is preferred. Otherwise, synchronous interaction is preferred. Asynchronous request is responded with 202 status with a status link in the location header. Synchronous request is responded with 200 along with response body.
    Allowed Values: [ "respond-sync" ]
  • A custom header to mitigate CSRF attacks.
    Allowed Values: [ "XMLHttpRequest" ]
Body ()
Perform a batch of permission operations with the given information in the payload.

The request body contains permission operation add
The add block of the payload accepts a list of permissions that will be created.
Root Schema : BatchJobBeanResourcePermissionCreate
Type: object
BatchJobBean
Show Source
Nested Schema : operations
Type: array
Operations to perform, It is a required property in the post request.
Show Source
Nested Schema : JobOperationBeanResourcePermissionCreate
Type: object
Show Source
Nested Schema : add
Type: array
Show Source
Nested Schema : ResourcePermissionCreate
Type: object
ResourcePermissionCreate
Show Source
Nested Schema : PermissionRole
Type: object
PermissionRole
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

500 Response

Internal server error.
Back to Top