/trustlevels/{id}
This resource is available only to principals with these entitlements: "ROLE_READ_TRUSTLEVEL" "ROLE_BROKER_ADMIN"
Mount Point: /auth/api/v1/trustlevels/{id}/
The following operations are supported on this resource:
GET
This operation is available only to principals with these entitlements: "ROLE_READ_TRUSTLEVEL" "ROLE_BROKER_ADMIN"
Retrieves a specified model object.
Parameters
| name | description | type | default |
|---|---|---|---|
| id | The ID of the model object to be retrieved. | path |
Response Body
| result: | trustLevel |
| media types: | application/json |
The requested model object.
Status Codes
| code | description |
|---|---|
| 200 | Success |
| 304 | Not modified |
| 404 | No such object |
PUT
This operation is available only to principals with these entitlements: "ROLE_UPDATE_TRUSTLEVEL" "ROLE_BROKER_ADMIN"
Updates a model object.
Parameters
| name | description | type | default |
|---|---|---|---|
| id | The ID of the model object to be updated. | path |
Request Body
| element: | trustLevel |
| media types: | application/json |
(no documentation provided)
Response Body
| result: | trustLevel |
| media types: | application/json |
The updated model object response.
Status Codes
| code | description |
|---|---|
| 200 | Success |
| 412 | Precondition failed |
| 409 | Reserved for cache object out of date |
DELETE
This operation is available only to principals with these entitlements: "ROLE_DELETE_TRUSTLEVEL" "ROLE_BROKER_ADMIN"
Deletes a specified model object.
Parameters
| name | description | type | default |
|---|---|---|---|
| id | The ID of the model object to be deleted. | path |
Status Codes
| code | description |
|---|---|
| 204 | Success |
| 404 | No such object |