Get one API key
GET/v2/api-keys/:keyId
Returns specific API key info
Request
Path Parameters
keyId int64required
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
id int64required
ID of the API key
description stringrequired
Description
username string
Username of user owner
userFullName string
Full name of user owner
projectId int64required
Api key's project ID
projectName stringrequired
Api key's project name
expiresAt int64
Timestamp of API key expiraion
lastUsedAt int64
Timestamp of API key last usage
scopes string[]required
Api key's permission scopes
{
"id": 0,
"description": "string",
"username": "string",
"userFullName": "string",
"projectId": 0,
"projectName": "string",
"expiresAt": 0,
"lastUsedAt": 0,
"scopes": [
"screenshots.upload",
"screenshots.delete",
"translations.edit",
"screenshots.view",
"translations.view",
"keys.edit"
]
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...