Skip to content

Reset a directory migration user state

POST
/api/admin/tenants/{tenantId}/directory-auth/migration/user-states/{stateId}/reset
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/tenants/example/directory-auth/migration/user-states/example/reset \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

Resets a blocked or deferred migration state and records an audit/config-history event. Tenant-scoped admins need the directory authentication migration write permission.

tenantId
required
string
stateId
required
string
Media type application/json
object
Example generated
{}

Directory migration user state reset.

Media type application/json
object
Example generated
{}

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"
}