List all deploy tokens
GET
/api/v4/deploy_tokens
Lists all deploy tokens for the instance.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ” page
integer
Current page number
Example
1 per_page
integer
Number of items per page
Example
20 active
boolean
Limit by active status
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer format: int64
name
string
username
string
expires_at
string format: date-time
scopes
array
revoked
boolean
expired
boolean
Example
{ "id": 1, "name": "MyToken", "username": "gitlab+deploy-token-1", "expires_at": "2020-02-14T00:00:00.000Z", "scopes": [ "read_repository" ]}Bad Request
Unauthorized
Forbidden