Create an ORDS role

post

/ords/rest/roles/

Creates an ORDS role.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • ORDS role for specific 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

200 Response

Details of the ORDS role that has been successfully created.
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.

409 Response

A role with that name already exists.
Back to Top