Get Registration Token Statuses
Get statuses of all registration tokens. This is a list api To fetch all the generated token statuses.
Offset pagination parameter used to exclude from a response the first N items of a resource collection. Combine the limit and the page_size options to request a particular set or page of items.
Number of records to be returned in the API request from the provided offset
True, if the list of records returned need to be sorted in ascending order, false otherwise.
The parameter name on which to sort the list of records. Only top-level parameters in the returned list of records will be supported. If not provided, system will define the parameter by which results are sorted.
Use this request param to filter by one or more display names.
Use this request param to filter by registration token status.Allowed values are: AVAILABLE, EXPIRED.
OK
{
"offset": 0,
"number_of_results": 0,
"total_result_count": 0,
"total_pages": 0,
"sort_ascending": false,
"sort_by": "string",
"results": [
{
"id": "string",
"display_name": "string",
"description": "string",
"allowed_instance_count": 0,
"remaining_instance_count": 0,
"status": "string",
"expiration_timestamp": 0,
"registration_manifest": "string"
}
]
}
Error response on API failure.
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -H 'Authorization: <value>' https://{api_host}/baremetal/registration-tokens/statuses