updateApplicationID
put
/ccadmin/v1/applicationIds/{id}
Update Application ID. Updates an Application ID of type application.
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
string
Required:true
The ID of the Application ID to update.
Body Parameter
Root Schema : updateApplicationID_request
PUT /ccadmin/v1/applicationIds/1036cd9a-844d-4c4a-9dc2-22be5a84ced4
- name
-
Type:
string
Required:true
The updated name for the Application ID. - type
-
Type:
string
Required:true
The Application ID type: application or extension.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : updateApplicationID_response
- createdBy
-
Type:
object
createdByAdditional Properties Allowed:information about the user who created the application. - creationTime
-
Type:
string
time application was creating in ISO 8601 format. - inUse
-
Type:
boolean
true if the application ID is currently being used. - name
-
Type:
string
the name of the application. - repositoryId
-
Type:
string
the id of the application ID item. - token
-
Type:
string
The auth token for the application, if of type application. - type
-
Type:
string
the type of application; can be application or extension.
Nested Schema : createdBy
Type:
object
information about the user who created the application.
- firstName
-
Type:
string
first name of the user. - lastName
-
Type:
string
last name of user. - repositoryId
-
Type:
string
the repository id of the user
Example application/json
{
"creationTime":"2014-05-08 17:15:43.143",
"createdBy":{
"lastName":"Admin",
"firstName":"Amber",
"repositoryId":"admin",
"id":"admin"
},
"inUse":true,
"name":"another extension name",
"repositoryId":"1036cd9a-844d-4c4a-9dc2-22be5a84ced4",
"id":"1036cd9a-844d-4c4a-9dc2-22be5a84ced4",
"type":"extension"
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code
Examples
Sample Request:
PUT /ccadmin/v1/applicationIds/1036cd9a-844d-4c4a-9dc2-22be5a84ced4
Sample Response Payload returned by endpoint:
{ "creationTime": "2014-05-08 17:15:43.143", "createdBy": { "lastName": "Admin", "firstName": "Amber", "repositoryId": "admin", "id": "admin" }, "inUse": true, "name": "another extension name", "repositoryId": "1036cd9a-844d-4c4a-9dc2-22be5a84ced4", "id": "1036cd9a-844d-4c4a-9dc2-22be5a84ced4", "type": "extension" }