Reactivate a suspended user
Reactivate a suspended user. This action transitions the user's state from SUSPENDED to ACTIVE and restores the user's access in the 1Password EPM account.
The :reactivate action is idempotent. Using this action on a user who is already active returns the user with no changes to their state.
| Method | Endpoint URL |
|---|---|
POST | <base_url>/v1beta1/accounts/<account_id>/users/<user_id>:reactivate |
Make a request
Request headers
Include the following headers:
Authorization: Bearer <YOUR_ACCESS_TOKEN>User-Agent: <CompanyOrProductName>/<version>
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | The unique identifier of the 1Password EPM account. |
user_id | string | Yes | The unique identifier of the user. |
Request body
This endpoint does not accept a request body.
Example request
Reactivate a previously suspended user in a 1Password EPM account.
Receive a response
A successful response returns 200 OK with the updated User object with the state set to ACTIVE.
Example response
Response schemas
User object
| Field | Type | Description |
|---|---|---|
id | string | User UUID. |
email | string | User email address. |
display_name | string | User display name. |
state | string | User state. Possible values: STATE_UNSPECIFIED, ACTIVE, SUSPENDED. This value is ACTIVE in a successful response. |
create_time | string | Date and time when the user was created. Uses the RFC 3339 standard . |
path | string | Resource path for the user. Format: accounts/<account_id>/users/<account_id>. |