Update or disables a REST enabled object

put

/ords/rest/autorest/{id}

Updates or disables a REST enabled object,

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Its value can be 'DISABLE' which would make the endpoint disables a REST enabled object or 'UPDATE' which would make the endpoint update a REST enabled object.
  • Controls whether Oracle REST Data Services should require user authorization before allowing access to the Oracle REST Data Services metadata for this object. If this value is TRUE, then the service is protected by the following roles: oracle.dbtools.autorest.any.schema, oracle.dbtools.role.autorest...
  • Alias of the object.
Back to Top

Response

Supported Media Types

200 Response

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

403 Response

You do not have permission to enable a REST object.

404 Response

A REST Object does not exist.

409 Response

A REST enabled object with that alias already exists.
Back to Top