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
    • 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

Update a service account in the database

PATCH
http://localhost:3000/oauth/serviceAccounts/:client_id
PATCH
/oauth/serviceAccounts/:client_id
$curl -X PATCH http://localhost:3000/oauth/serviceAccounts/client_id \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1{
2 "status": "OK",
3 "message": "A sample success message",
4 "data": {
5 "description": "This is a service account for the external Example system"
6 }
7}
Updates a service account in the database.
Was this page helpful?
Previous

Add GBAC to a job

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

Request

request body
updatesobjectOptional

Response

The output of the service account update.
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.
dataobject

Errors

500
Internal Server Error