Vai al contenuto principale
DELETE
/
v3beta1
/
enterprise
/
members
/
service-users
/
{service_user_id}
Delete Service User
curl --request DELETE \
  --url https://api.devin.ai/v3beta1/enterprise/members/service-users/{service_user_id} \
  --header 'Authorization: Bearer <token>'
{
  "expires_at": 123,
  "name": "<string>",
  "role_assignments": [
    {
      "role": {
        "role_id": "<string>",
        "role_name": "<string>",
        "role_type": "enterprise"
      },
      "org_id": "<string>"
    }
  ],
  "service_user_id": "<string>"
}

Autorizzazioni

Richiede un utente di servizio con il permesso ManageAccountMembership a livello Enterprise.

Autorizzazioni

Authorization
string
header
obbligatorio

Service User credential (prefix: cog_)

Parametri del percorso

service_user_id
string
obbligatorio

Risposta

Successful Response

expires_at
integer | null
obbligatorio
name
string
obbligatorio
role_assignments
RoleAssignment · object[]
obbligatorio
service_user_id
string
obbligatorio