Service Accounts

Update service account

Updates the name and role assignments of a service account

put/v1/service-accounts/{id}

Request

  • Base URL
    https://docs.grepr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header GREPR-API-KEY
    • or OpenID Connect (https://grepr-prod.us.auth0.com/.well-known/openid-configuration)

Path parameters

idstring required

Request body

namestring required

Display name for the service account

roleIdsstring[] required

List of role IDs to assign to the service account

Example request

{
  "name": "Production API Access",
  "roleIds": [
    "rol_AlphaNum1234",
    "rol_alphaNum5678"
  ]
}

Response

Service account updated successfully

clientIdstring required

OAuth2 client ID for authentication

idstring required

Unique identifier

namestring required

Display name of the service account

Changes

No recorded changes to this operation across all 1 revision of this API.