Get information about the authtoken
Return a JSON representation of the authtoken
Request
GET https://{hostname}:{port}
/build/rest2/authtokens/{token}
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | true | The authtoken string |
This command takes a JSON request string or file. Use the following template for the request:
{
"expiration": "The date and time at which this auth
token should expire",
"location": "The The URL that can be used to get the
JSON representation of the anthtoken",
"token": "The token string",
"userId": "The security user id of the user who
associates with this token",
"userName": "The name of user who associates with this
token"
}
