Secure tokens REST API
Use this REST API to manage secure tokens.
Get all secure tokens
| REST API information | Value | Description |
|---|---|---|
| URI | /admin/resources/secure_tokens | |
| Method | GET | |
| Returns | 200 | Returns a list of all secure tokens |
| 404 | The secure tokens list was not found | |
| 500 | Platform System Manager encountered an internal error while processing the request. |
Returns a list of secure tokens.
You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.
- created_time
- The time at which the object is created
- id
- The unique ID of the object in the system.
- is_deletable
- Flag indicating if the security token can be deleted or not
- is_hidden
- Flag indicating if the security token is hidden or not
- label_key
- Key for retrieving label for the security token
- lable_text
- Default label for the security token
- name
- The name of the security token
- state
- The general availability of the object. If "pending" the object has been created but not activated. If "available" the object is active in the system.
- token
- The security token
- token_type
- The type of the security token
- updated_time
- The time at which the object was last updated
Get a specific secure tokens
| REST API information | Value | Description |
|---|---|---|
| URI | /admin/resources/secure_tokens/{id} | |
| Method | GET | |
| Returns | 200 | The secure token was returned. |
| 404 | The secure token was not found | |
| 500 | Platform System Manager encountered an internal error while processing the request. |
Returns a single secure tokens identified by {id}.
You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.