Deleting an agent using the REST API

401 views
Skip to first unread message

damien.c...@collibra.com

unread,
Jul 23, 2018, 8:53:11 AM7/23/18
to Jenkins Users
Hi,

We're trying to delete Jenkins agents using the REST API, by using a POST on /computer/<slave name>/delete.

But this call returns an HTML page asking for confirmation. I didn't find a way, in the API documentation or elsewhere, to do this.

Any hint?

Thanks,
Damien

damien.c...@collibra.com

unread,
Jul 23, 2018, 9:39:43 AM7/23/18
to Jenkins Users
Correct URL is /computer/<slave name>/doDelete
Reply all
Reply to author
Forward
0 new messages