For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI ReferenceRelease notes
DocumentationAPI ReferenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Integration API routes
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTCreate a service account in the database
        • DELDelete a service account in the database
        • GETGet service accounts from the database
        • PATCHRegenerate client secret
        • POSTRetrieve a JWT from a client's credentials
        • PATCHUpdate a service account in the database
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceOAuth

Delete a service account in the database

DELETE
http://localhost:3000/oauth/serviceAccounts/:client_id
DELETE
/oauth/serviceAccounts/:client_id
$curl -X DELETE http://localhost:3000/oauth/serviceAccounts/client_id \
> -u "<username>:<password>"
1{
2 "status": "OK",
3 "message": "A sample success message"
4}
Deletes a service account in the database.
Was this page helpful?
Previous

Get service accounts from the database

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

client_idstringRequiredformat: "^[0-9a-f]{24}$"
The clientId for the service account

Response

Result of service account deletion process
statusenum
The status of the API request.
Allowed values:
messagestring
Message containing either confirmation of the operation or the reason for the failure of the operation.

Errors

500
Internal Server Error