Skip to main content

List Token

Creates a listing for a specific token.

Request

POST /v2/admin/token/{token_id}/listing

Parameters

NameTypeInDescription
token_idstringpathRequired. The ID of the token to list

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication
Content-TypeRequired. Must be application/json

Example

curl --request POST \
--url '\{\{baseUrl\}\}/v2/admin/token/67d8774e903bfcbe7eb5d93e/listing' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
--header 'Content-Type: application/json' \
--header 'User-Agent: insomnia/10.3.1' \
--data '{}'

Response

A successful response returns an empty object:

{}

Status Codes

Status CodeDescription
200Success - Token has been listed successfully
400Bad Request - Invalid request parameters
401Unauthorized - Invalid or missing authentication token
404Not Found - Token ID does not exist
500Internal Server Error