Create an ORDS OAuth client

post

/ords/rest/clients/

Creates an ORDS OAuth client.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • A comma-separated list of URL prefixes. If the list is empty, any existing origins are removed.
  • Description of the purpose of the client, displayed to the end user during the approval phase of three-legged OAuth. May be null if p_grant_type is client_credentials; otherwise, must not be null.
  • Name for the client, displayed to the end user during the approval phase of three-legged OAuth. Must be unique.
  • List of comma-separated privileges that the client wants to access.
  • Client-controlled URI to which redirect containing an OAuth access token or error will be sent. May be null if p_grant_type is client_credentials; otherwise, must not be null.
  • Is a string of privilege names
  • The email where end users can contact the client for support.
  • The URI where end users can contact the client for support.
Back to Top

Response

Supported Media Types

201 Response

Details of the ORDS OAuth client that has been created successfully.
Body ()
Root Schema : RestClientCollectionItem
Type: object
ORDS OAuth clients
Show Source
Nested Schema : LinkRelation
Type: object
Show Source

400 Response

No name, description or support_email parameter provided or A role name or privilege name does not exist or The list of allowed origins or privilege name is too big or A privilege name is too long.

409 Response

An oauth client with that name already exists.
Back to Top