Get current API key info
GET/v2/api-keys/current
Returns info the API key which user currently authenticated with. Otherwise responds with 400 status code.
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
permittedLanguageIds int64[]deprecated
Languages for which user has translate permission.
projectName stringrequired
userFullName string
lastUsedAt int64
expiresAt int64
projectId int64required
scopes string[]required
username string
description stringrequired
id int64required
{
"projectName": "string",
"userFullName": "string",
"lastUsedAt": 0,
"expiresAt": 0,
"projectId": 0,
"scopes": [
"string"
],
"username": "string",
"description": "string",
"id": 0
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...