Create an IPA serial number token
Contributors
Suggest changes
POST /ipa/services/account/{accountId}/sn-lookup-token
Creates an IPA serial number token.
Token usage: BlueXP service token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
accountId |
string |
path |
True |
|
X-Service-Request-Id |
string |
header |
False |
Request identifier |
Request Body
Name | Type | Required | Description |
---|---|---|---|
grantType |
string |
True |
|
scope |
string |
True |
|
nssKeyId |
string |
True |
Example request
{
"grantType": "string",
"scope": "string",
"nssKeyId": "string"
}
Response
Status: 200, Sucessfull serial number lookup token response
Name | Type | Required | Description |
---|---|---|---|
expires_in |
integer |
False |
|
token_type |
string |
False |
|
refresh_token |
string |
False |
|
access_token |
string |
False |
Example response
{
"token_type": "string",
"refresh_token": "string",
"access_token": "string"
}
Response
Status: 4xx, Client error response
Name | Type | Required | Description |
---|---|---|---|
error |
string |
False |
Error code/category |
message |
string |
False |
Error description message |
Example response
{
"error": "string",
"message": "string"
}
Response
Status: 5xx, Server error response
Name | Type | Required | Description |
---|---|---|---|
error |
string |
False |
Error code/category |
message |
string |
False |
Error description message |
Example response
{
"error": "string",
"message": "string"
}