Update an ORDS role

put

/ords/rest/roles/{id}

Updates an ORDS role.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Specify the ORDS role given the ID to update.
  • New role_name for the ORDS role module.
  • Its value can be 'codePreview', which would make the endpoint respond with the code the backend would have executed. When the parameter is not provided, the endpoint will respond with the results of the operation execution.
Back to Top

Response

Supported Media Types

201 Response

Details of the ORDS role that has been successfully updated.
Body ()
Root Schema : ResourceItem
Type: object
Additional Properties Allowed: true
Show Source
Nested Schema : LinkRelation
Type: object
Show Source

400 Response

No role_name parameter provided.

403 Response

You do not have the permission to update this role.

404 Response

Role not found.
Back to Top