Create User Credential
Select
SaaS
Customer Managed
This operation is used to create a user credential under credentials manager in control panel.
- application/json
Request Body
credentialRecordInfo object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
records object[]
error object
{
"records": [
{
"recordType": 0,
"credentialRecord": {
"credentialId": 0
}
}
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
{
"records": [
{
"recordType": 1,
"credentialRecord": {
"credentialId": 5
}
}
],
"error": {
"errorMessage": "Successful!",
"errorCode": 0
}
}
POST /commcell/credentials
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"recordType": 0,
"description": "string",
"additionalInformation": {
"dbName": "string",
"connectString": "string",
"azureCredInfo": {
"environment": "string",
"tenantId": "string",
"applicationId": "string",
"subscriptionId": "string"
}
},
"credentialRecord": {
"credentialName": "string"
},
"record": {
"password": "string",
"userName": "string"
},
"createAs": {
"user": {},
"userGroup": {
"userGroupId": 0,
"userGroupName": "string"
}
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"recordType": 0,
"description": "string",
"additionalInformation": {
"dbName": "string",
"connectString": "string",
"azureCredInfo": {
"environment": "string",
"tenantId": "string",
"applicationId": "string",
"subscriptionId": "string"
}
},
"credentialRecord": {
"credentialName": "string"
},
"record": {
"password": "string",
"userName": "string"
},
"createAs": {
"user": {},
"userGroup": {
"userGroupId": 0,
"userGroupName": "string"
}
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"recordType": 0,
"description": "string",
"additionalInformation": {
"dbName": "string",
"connectString": "string",
"azureCredInfo": {
"environment": "string",
"tenantId": "string",
"applicationId": "string",
"subscriptionId": "string"
}
},
"credentialRecord": {
"credentialName": "string"
},
"record": {
"password": "string",
"userName": "string"
},
"createAs": {
"user": {},
"userGroup": {
"userGroupId": 0,
"userGroupName": "string"
}
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"recordType": 0,
"description": "string",
"additionalInformation": {
"dbName": "string",
"connectString": "string",
"azureCredInfo": {
"environment": "string",
"tenantId": "string",
"applicationId": "string",
"subscriptionId": "string"
}
},
"credentialRecord": {
"credentialName": "string"
},
"record": {
"password": "string",
"userName": "string"
},
"createAs": {
"user": {},
"userGroup": {
"userGroupId": 0,
"userGroupName": "string"
}
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"recordType": 0,
"description": "string",
"additionalInformation": {
"dbName": "string",
"connectString": "string",
"azureCredInfo": {
"environment": "string",
"tenantId": "string",
"applicationId": "string",
"subscriptionId": "string"
}
},
"credentialRecord": {
"credentialName": "string"
},
"record": {
"password": "string",
"userName": "string"
},
"createAs": {
"user": {},
"userGroup": {
"userGroupId": 0,
"userGroupName": "string"
}
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"recordType": 0,
"description": "string",
"additionalInformation": {
"dbName": "string",
"connectString": "string",
"azureCredInfo": {
"environment": "string",
"tenantId": "string",
"applicationId": "string",
"subscriptionId": "string"
}
},
"credentialRecord": {
"credentialName": "string"
},
"record": {
"password": "string",
"userName": "string"
},
"createAs": {
"user": {},
"userGroup": {
"userGroupId": 0,
"userGroupName": "string"
}
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommCell/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentialRecordInfo": [
{
"recordType": 0,
"description": "string",
"additionalInformation": {
"dbName": "string",
"connectString": "string",
"azureCredInfo": {
"environment": "string",
"tenantId": "string",
"applicationId": "string",
"subscriptionId": "string"
}
},
"credentialRecord": {
"credentialName": "string"
},
"record": {
"password": "string",
"userName": "string"
},
"createAs": {
"user": {},
"userGroup": {
"userGroupId": 0,
"userGroupName": "string"
}
}
}
]
}'