createApplicationID

post

/ccadmin/v1/applicationIds

Create Application ID. Creates an Application ID of specified type

Request

Supported Media Types
Body ()
Root Schema : createApplicationID_request
Type: object
Show Source
  • Only valid with type application. The lifetime in days for the generated auth token, after which the token will be invalid for login. If not set, or set to -1, the lifetime of the token will be unlimted. If set to 0, the token will be invalid for login. If set to a value over 365, then the value will be changed to 365.
  • The name for the new Application ID.
  • The Application ID type: application or extension.
Example:
{
    "name":"exampleApp",
    "lifetimeDays":90,
    "type":"application"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createApplicationID_response
Type: object
Show Source
Nested Schema : createdBy
Type: object
information about the user who created the application.
Show Source
Example Response (application/json)
{
    "external":false,
    "creationTime":"2014-05-08 17:17:02.399",
    "createdBy":{
        "lastName":"Admin",
        "firstName":"Amber",
        "repositoryId":"admin",
        "id":"admin"
    },
    "inUse":false,
    "name":"another application name",
    "repositoryId":"12c26908-6545-4947-a46c-9917236583c5",
    "id":"12c26908-6545-4947-a46c-9917236583c5",
    "type":"application",
    "token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0MDk4NTY1OTEsInN1YiI6ImFkbWluIiwiaXNzIjoiYWRtaW4iLCJpYXQiOjE0MDk3NzAxOTF9.T0kaE8Ib35R2XZzp0xk4FRP/266KD1cieZFpPijtniw="
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top