Skip to content

Delete an Okta managed user account

Request

OAuth 2.0 scope:
  • okta.serviceAccounts.okta.manage
Admin roles:
  • SUPER_ADMIN

Deletes an Okta managed user account specified by ID.

This operation removes the service account management for the Okta user, suspends the underlying Okta user account, but doesn't delete the user from Universal Directory.

Path
idstring, (regex)(?i)^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}...required

ID of an existing Okta managed user account

Example:a747a818-a4c4-4446-8a87-704216495a08
curl -i -X DELETE \
  https://subdomain.okta.com/privileged-access/api/v1/okta-service-accounts/a747a818-a4c4-4446-8a87-704216495a08

Responses

No Content

Response
No content