- Http Method
- GET
- End Point
-
/~api/users/{userId}/access-tokens
Placeholder |
Description |
Example |
{userId} |
User Id |
1
|
- Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
-
- Content Type
- application/json
- Example
-
[
{
"value"
:
"string"
,
"description"
:
"string"
,
"createDate"
:
"2024-04-28T00:29:58.484+00:00"
,
"expireDate"
:
"2024-04-28T00:29:58.484+00:00"
}
]
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> https://crash.software/~api/users/1/access-tokens