Use the following operation to get a user token in Zephyr Enterprise:
GET /flex/services/rest/v3/usertoken/
To get a user token, send a GET request to the following URL:
http://{ZEPHYR-SERVER}/flex/services/rest/v3/usertoken/
[
{
"id": 1,
"label": "new",
"createdBy": 5
}
]
Use the following operation to create a user token in Zephyr Enterprise:
POST /flex/services/rest/v3/usertoken/
To create a user token, send a POST request to the following URL:
http://{ZEPHYR-SERVER}/flex/services/rest/v3/usertoken/
{
"label":"Token"
}
{
"id": 1,
"label": "Token",
"token": "b9364433bc252f152cbc72246b9d3d477b0ca4df",
"createdBy": "test.manager"
}
Use the following operation:
DELETE /flex/services/rest/v3/usertoken/{id}
{id} - the ID of the user token to be deleted.
To delete a user token, send a DELETE request to the following URL:
http://{ZEPHYR-SERVER}/flex/services/rest/v3/usertoken/{id}
True
Use the following operation to delete all user tokens:
DELETE /flex/services/rest/v3/usertoken/all
To delete all user tokens, send a DELETE request to the following URL:
http://{ZEPHYR-SERVER}/flex/services/rest/v3/usertoken/all
True