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

Create a service account in the database

POST
http://localhost:3000/oauth/serviceAccounts
POST
/oauth/serviceAccounts
$curl -X POST http://localhost:3000/oauth/serviceAccounts \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1{
2 "client_id": "5cb7b531d06cceb89fd21b1c",
3 "client_secret": "d4c673d6-17f8-4e76-8034-a87820f96618"
4}
Creates a service account in the database.
Was this page helpful?
Previous

Delete a service account in the database

Next
Built with

Authentication

AuthorizationBasic

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

Request

request body
accountDataobjectOptional

Response

result
client_idstringformat: "^[0-9a-f]{24}$"
String representation of a MongoDB ObjectId
client_secretstring
Uuid representation of client secret

Errors

500
Internal Server Error