Retrieve a project deploy token
GET
/api/v4/projects/{id}/deploy_tokens/{token_id}
Retrieves a project deploy token.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”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
Not found