Skip to main content
PATCH
/
v2
/
orgs
/
{orgSlug}
/
service-accounts
/
{saSlug}
cURL
curl --request PATCH \
  --url https://api.eda.prisme.ai/v2/orgs/{orgSlug}/service-accounts/{saSlug} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "roleSlug": "<string>",
  "scopes": [
    "<string>"
  ],
  "disabled": true
}
'
{
  "id": "<string>",
  "userId": "<string>",
  "orgSlug": "<string>",
  "slug": "<string>",
  "name": "<string>",
  "description": "<string>",
  "roleSlug": "<string>",
  "scopes": [
    "<string>"
  ],
  "disabled": true,
  "lastUsedAt": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgSlug
string
required
saSlug
string
required

Body

application/json
name
string
description
string
roleSlug
string
scopes
string[]
disabled
boolean

Response

Success

id
string
userId
string

Synthetic user ID used in JWT sub (sa:{orgSlug}:{slug})

orgSlug
string
slug
string
name
string
description
string
roleSlug
string

Organization role assigned to this service account

scopes
string[]

Optional scope restrictions (empty means all permissions from roleSlug)

disabled
boolean
lastUsedAt
string<date-time>
createdBy
string
updatedBy
string
createdAt
string
updatedAt
string