-
-
Notifications
You must be signed in to change notification settings - Fork 320
Open
Labels
type:bugChanges fix a minor bugChanges fix a minor bug
Description
Description
- Node.js version: v22.17.1
- Gitbeaker version: 43.8.0
- Gitbeaker release (cli, rest, core, requester-utils): core
- OS & version: N/A
The Agents API uses the wrong HTTP verb when executing the createToken method (get rather than post).
Gitlab Agent API documentation
Steps to reproduce
N/A
Expected behaviour
N/A
Actual behaviour
N/A
Possible fixes
Change method called: from RequestHelper.get<ClusterAgentTokenSchema> to RequestHelper.post<ClusterAgentTokenSchema>; the generic type may be different, as this REST action also contains the token itself in the response.
Checklist
- I have checked that this is not a duplicate issue.
- I have read the documentation.
Metadata
Metadata
Assignees
Labels
type:bugChanges fix a minor bugChanges fix a minor bug