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:
stringRequired:trueThe ID of the Application ID to update.
Body Parameter
Root Schema : updateApplicationID_request
PUT /ccadmin/v1/applicationIds/1036cd9a-844d-4c4a-9dc2-22be5a84ced4
- name
-
Type:
stringRequired:trueThe updated name for the Application ID. - type
-
Type:
stringRequired:trueThe 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:
objectcreatedByAdditional Properties Allowed:information about the user who created the application. - creationTime
-
Type:
stringtime application was creating in ISO 8601 format. - inUse
-
Type:
booleantrue if the application ID is currently being used. - name
-
Type:
stringthe name of the application. - repositoryId
-
Type:
stringthe id of the application ID item. - token
-
Type:
stringThe auth token for the application, if of type application. - type
-
Type:
stringthe type of application; can be application or extension.
Nested Schema : createdBy
Type:
objectinformation about the user who created the application.
- firstName
-
Type:
stringfirst name of the user. - lastName
-
Type:
stringlast name of user. - repositoryId
-
Type:
stringthe 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:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe 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"
}