Application OAuth Clients

POST /applications/{applicationId}/oauthClients

This endpoint allows you to create a new OAuth client for the given application. A maximum of 250 oauth client credentials can be created under the application.

Request

  • Base URL
    https://api.cxxx.eagleeyenetworks.com/api/v3.0
  • URL
    https://api.cxxx.eagleeyenetworks.com/api/v3.0/applications/{applicationId}/oauthClients
  • Auth
    HTTP bearer

Request body

OR

Example request

{
  "name": "client-name",
  "type": "confidential",
  "redirectUris": [
    "https://google.co.in/",
    "https://google.nl/"
  ],
  "loginUris": [
    "https://sample.com/login",
    "https://sample.nl/login"
  ],
  "authorizationType": "user"
}

Response

Created

OR

Example response

{
  "id": "e005968e714911eda1eb0242ac120002",
  "secret": "NnjRRTOYAlGpqedN65OLf4sPMFH8kGbG",
  "name": "client-name",
  "type": "confidential",
  "redirectUris": [
    "https://google.co.in/",
    "https://google.nl/"
  ],
  "loginUris": [
    "https://sample.com/login",
    "https://sample.nl/login"
  ],
  "authorizationType": "user",
  "scopes": [
    "vms.all"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.