appIdOperation
post
/ccadmin/v1/applicationIds/{id}
App Id Operation. Perform an operation on an Application Id. Operations currently supported: genAuthToken.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
The Application ID on which to perform the operation.
Root Schema : appIdOperation_request
Type:
Show Source
object
-
op:
string
Operation type. Valid values: genAuthToken - generate a new auth token for the given application id.
-
type:
string
One of either application or extension. Only application is supported at this time.
Example:
{
"op":"genAuthToken",
"type":"application"
}
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : appIdOperation_response
Type:
Show Source
object
-
token(optional):
string
If operation is genAuthToken, then this property contains the new token value.
Example Response (application/json)
{
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0MDk4NTY1OTEsInN1YiI6ImFkbWluIiwiaXNzIjoiYWRtaW4iLCJpYXQiOjE0MDk3NzAxOTF9.T0kaE8Ib35R2XZzp0xk4FRP/266KD1cieZFpPijtniw="
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code