Skip to content

Delete a user attribute.

DELETE
/api/admin/attributes/{id}
Code sample: Shell / cURL
curl --request DELETE \
--url https://auth.example.com/api/admin/attributes/example \
--header 'Authorization: Bearer <token>'

Deletes one verified user attribute for the current tenant and records an audit event.

id
required
string

User attribute id.

Successful admin action response.

Media type application/json
object
success
required
boolean
message
string
id
string
deleted_user_id
string
deleted_count
integer
key
additional properties
Example
{
"success": true,
"message": "Operation completed"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}