Skip to main content
PUT
Enable User

Overview

Enables the user so they can sign in again. Roles stay member; restore roles with Update User Roles. No request body. Idempotent: a user who is already enabled returns 200 with "User is already enabled". Requires the update:user scope.

Response Examples

Enabled (200)

Already Enabled (200)

Response Fields

Status Codes

Authorizations

Authorization
string
header
required

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

Headers

x-organization-secret
string
required

Organization secret for authentication - provided by Parchment

Path Parameters

organization_id
string<uuid>
required

Organization ID

user_id
string<uuid>
required

User ID

Response

User enabled, or already enabled.

success
boolean
required

Always true

Example:

true

statusCode
integer
required

HTTP status code

Example:

200

message
string
required

Outcome summary.

Example:

"User disabled successfully"

code
enum<string>
required

Always SUCCESS.

Available options:
SUCCESS
Example:

"SUCCESS"

data
object
required
timestamp
string<date-time>
required

ISO 8601 timestamp of the response

Example:

"2024-01-15T10:30:00.000Z"

requestId
string
required

Unique identifier for request tracing

Example:

"req_1705312200000_abc123"