Get Token
GET/api/v1/user/tokens/:id
Request
Path Parameters
id integerrequired
The id of the API token
Example: 42
Header Parameters
Authorization string
Example: Bearer {YOUR_AUTH_KEY}
Content-Type string
Example: application/json
Accept string
Example: application/json
Responses
- 200
success
- application/json
- Schema
- Example (from schema)
Schema
id integer
tokenable_type string
tokenable_id integer
name string
abilities string[]
last_used_at string
created_at string
updated_at string
plain_text string
{
"id": 1,
"tokenable_type": "App\\Models\\User",
"tokenable_id": 45,
"name": "name of api token",
"abilities": [
"*"
],
"last_used_at": null,
"created_at": "2021-10-26T10:38:07.000000Z",
"updated_at": "2021-10-26T10:38:07.000000Z",
"plain_text": ""
}
Loading...