Sonatype Security REST API

/roles/{roleId}

The following operations are supported on this resource:

GET

Returns the request security role.

Parameters

name description type default
roleId Id of the role. path

Output Payload

element produceable content type(s)
(custom)
  • application/xml
  • application/json
description
(no documentation provided)

PUT

Updates and returns a security role.

Parameters

name description type default
roleId Id of the role to be updated. path

Input Payload

element consumeable content type(s)
role-request (XML)
  • application/xml
  • application/json
description
(no documentation provided)

Output Payload

element produceable content type(s)
(custom)
  • application/xml
  • application/json
description
(no documentation provided)

DELETE

Removes a security role.

Parameters

name description type default
roleId Id of the role to be removed. path