Update Credentials
Select
SaaS
Customer Managed
This operation is used to update an existing user credential under credentials manager in control panel.
Header Parameters
- Accept string required
- application/json
Request Body
credentialRecordInfo object[]
Responses
- 200
OK
PUT /commcell/credentials
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"credentialRecord": {
"credentialId": 0,
"credentialName": "string"
},
"createAs": {
"user": {
"user": {
"userId": 0,
"userName": "string"
}
}
},
"record": {
"userName": "string",
"password": "string"
},
"recordType": "string",
"description": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"credentialRecord": {
"credentialId": 0,
"credentialName": "string"
},
"createAs": {
"user": {
"user": {
"userId": 0,
"userName": "string"
}
}
},
"record": {
"userName": "string",
"password": "string"
},
"recordType": "string",
"description": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"credentialRecord": {
"credentialId": 0,
"credentialName": "string"
},
"createAs": {
"user": {
"user": {
"userId": 0,
"userName": "string"
}
}
},
"record": {
"userName": "string",
"password": "string"
},
"recordType": "string",
"description": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"credentialRecord": {
"credentialId": 0,
"credentialName": "string"
},
"createAs": {
"user": {
"user": {
"userId": 0,
"userName": "string"
}
}
},
"record": {
"userName": "string",
"password": "string"
},
"recordType": "string",
"description": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"credentialRecord": {
"credentialId": 0,
"credentialName": "string"
},
"createAs": {
"user": {
"user": {
"userId": 0,
"userName": "string"
}
}
},
"record": {
"userName": "string",
"password": "string"
},
"recordType": "string",
"description": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"credentialRecord": {
"credentialId": 0,
"credentialName": "string"
},
"createAs": {
"user": {
"user": {
"userId": 0,
"userName": "string"
}
}
},
"record": {
"userName": "string",
"password": "string"
},
"recordType": "string",
"description": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"credentialRecord": {
"credentialId": 0,
"credentialName": "string"
},
"createAs": {
"user": {
"user": {
"userId": 0,
"userName": "string"
}
}
},
"record": {
"userName": "string",
"password": "string"
},
"recordType": "string",
"description": "string"
}
]
}'