Delete a service account
DELETE
/api/security/serviceAccounts/{id}
const url = 'https://example.com/api/security/serviceAccounts/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/security/serviceAccounts/example \ --header 'Authorization: Bearer <token>'Removes a service account from the system
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
Service account ID
string
Responses
Section titled “Responses”Service account deleted successfully
Invalid request