cluster_agents
Create an agent
Creates an agent for the project. You must have the Maintainer or Owner role to use this endpoint.
post/api/v4/projects/{id}/cluster_agents
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
Request body
Response
Create an agent
Example response
{
"id": 1,
"config_project": {
"id": 1,
"description": "desc",
"name": "project1",
"name_with_namespace": "John Doe / project1",
"path": "project1",
"path_with_namespace": "namespace1/project1",
"created_at": "2020-05-07T04:27:17.016Z"
},
"created_by_user_id": 1
}Changes
No recorded changes to this operation across all 5 revisions of this API.