Update an ORDS role
put
/ords/rest/roles/{id}
Updates an ORDS role.
Request
Supported Media Types
- application/json
Path Parameters
-
id: integer
ID for specific ORDS role.
Root Schema : schema
Type:
Show Source
object
-
id:
number
Specify the ORDS role given the ID to update.
-
role_name:
string
New role_name for the ORDS role module.
-
run_mode(optional):
string
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.
Response
Supported Media Types
- application/json
201 Response
Details of the ORDS role that has been successfully updated.
400 Response
No role_name parameter provided.
403 Response
You do not have the permission to update this role.
404 Response
Role not found.