Get Company Authorization Code
This operation returns the authorization code for the Company. An AuthCode is required if you plan to mass distribute or run a silent installation of the installation package for end users.
Path Parameters
- OrganizationId integer required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
organizationInfo object
{
"organizationInfo": {
"organization": {
"connectName": "string",
"shortName": {
"domainName": "string",
"id": 0
}
},
"organizationProperties": {
"enableAuthCodeGen": true,
"authCode": "string"
}
}
}
{
"organizationInfo": {
"organization": {
"connectName": "company001",
"shortName": {
"domainName": "company001",
"id": 6
}
},
"organizationProperties": {
"enableAuthCodeGen": true,
"authCode": "CBABAB761"
}
}
}
GET /organization/:organizationid/authtoken
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Organization/:OrganizationId/AuthToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Organization/:OrganizationId/AuthToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Organization/:OrganizationId/AuthToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Organization/:OrganizationId/AuthToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Organization/:OrganizationId/AuthToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Organization/:OrganizationId/AuthToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Organization/:OrganizationId/AuthToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'