Updates the resource or role for the specified resource ID.

put

/primeapi/restapi/v16.2/resource

Request

Supported Media Types
  • application/json
Body Parameter
Resource to be updated.
Root Schema : ApiEntityResource
Type: object
Nested Schema : codeValuesResource
Type: array
Unique Items Required: true
Lists all resource code types assigned to the resource with its corresponding value.
Nested Schema : Unit
Type: object
Nested Schema : ApiEntityCodeValueResource
Type: object
Nested Schema : ApiEntityCodeType
Type: object
Nested Schema : ApiEntityCodeValue
Type: object
Nested Schema : assignments
Type: array
Unique Items Required: true
Nested Schema : ApiEntityCodeEntityType
Type: object

Response

Supported Media Types
  • application/json
Default Response
successful operation