UserPermissionResource

Resource to manage global user permission for a specified user.

The following resources are part of this group:

/security/permission/user/{user}

Mount Point: /api/rest/security/permission/user/{user}

Available Since: 1.31

POST

Available Since: 1.31

Adds a new permission to the user or group managed by the resource.

Status codes:

Parameters

name description type default
user (no documentation provided) path

Request Body

element: permission
media types: application/xml
application/json

permission to add

Response Body

element: (custom)
media types: */*
application/xml

web response

GET

Available Since: 1.31

Returns all permissions of the user or group managed by the resource.

Status codes:

Parameters

name description type default
user (no documentation provided) path

Response Body

element: (custom)
media types: application/xml
application/json

all permissions of the user or group

/security/permission/user/{user}/{id}

Mount Point: /api/rest/security/permission/user/{user}/{id}

Available Since: 1.31

The following operations are supported on this resource:

DELETE

Available Since: 1.31

Deletes a permission from the user or group managed by the resource.

Status codes:

Parameters

name description type default
id id of the permission path
user (no documentation provided) path

Response Body

element: (custom)
media types: */*
application/xml

web response

PUT

Available Since: 1.31

Updates the specified permission on the user or group managed by the resource.

Status codes:

Parameters

name description type default
id id of the permission path
user (no documentation provided) path

Request Body

element: permission
media types: application/xml
application/json

updated permission

Response Body

element: (custom)
media types: */*
application/xml

web response

GET

Available Since: 1.31

Returns the Permission with the specified id.

Status codes:

Parameters

name description type default
id id of the Permission path
user (no documentation provided) path

Response Body

element: permission
media types: application/xml
application/json

Permission with the specified id