api_tokens
Find API token by id.
get/api/v1/me/tokens/{id}
Request
- Base URL: https://crates.io
- URL: https://crates.io/api/v1/me/tokens/{id}
- Auth: one of:
- API key in header authorization
- API key in cookie cargo_session
Path parameters
idinteger required
ID of the API token
Response
Successful Response
Example response
{
"api_token": {
"crate_scopes": [
"serde"
],
"created_at": "2017-01-06T14:23:11Z",
"endpoint_scopes": [
"publish-update"
],
"expired_at": "2030-10-26T11:32:12Z",
"id": 42,
"last_used_at": "2021-10-26T11:32:12Z",
"name": "Example API Token"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.