ci_triggers
Update a pipeline trigger token
Updates a pipeline trigger token for a project.
put/api/v4/projects/{id}/triggers/{trigger_id}
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
trigger_idinteger required
The trigger token ID
Request body
Response
Update a pipeline trigger token
Example response
{
"id": 10,
"token": "6d056f63e50fe6f8c5f8f4aa10edb7",
"description": "test",
"created_at": "2015-12-24T15:51:21.880Z",
"updated_at": "2015-12-24T17:54:31.198Z",
"last_used": "2015-12-24T17:54:31.198Z",
"expires_at": "2015-12-24T17:54:31.198Z",
"owner": {
"id": 1,
"username": "admin",
"public_email": "john@example.com",
"name": "Administrator",
"state": "active",
"avatar_url": "https://gravatar.com/avatar/1",
"avatar_path": "/user/avatar/28/The-Big-Lebowski-400-400.png",
"custom_attributes": [
{
"key": "foo",
"value": "bar"
}
],
"web_url": "https://gitlab.example.com/root"
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.