Documentation Index Fetch the complete documentation index at: https://www.1password.dev/llms.txt
Use this file to discover all available pages before exploring further.
Reactivate a suspended user. This action transitions the user’s state from SUSPENDED to ACTIVE and restores the user’s access in the 1Password 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
Include the following headers:
Authorization: Bearer <YOUR_ACCESS_TOKEN>
User-Agent: <CompanyOrProductName>/<version>
Path parameters
Name Type Required Description account_idstring Yes The unique identifier of the 1Password account. user_idstring 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 account.
curl --request POST \
--url "https://api.1password.com/v1beta1/accounts/<account_id>/users/<user_id>:reactivate" \
--header "Authorization: Bearer <YOUR_ACCESS_TOKEN>" \
--header "User-Agent: <CompanyOrProductName>/<version>"
Receive a response
A successful response returns 200 OK with the updated User object with the state set to ACTIVE.
Example response
{
"id" : "IR7VJHJ36JHINBFAD7V2T5MP3E" ,
"email" : "wendy_appleseed@agilebits.com" ,
"display_name" : "Wendy Appleseed" ,
"state" : "ACTIVE" ,
"create_time" : "2024-01-15T10:30:00Z" ,
"path" : "accounts/ACCOUNT123/users/IR7VJHJ36JHINBFAD7V2T5MP3E"
}
Response schemas
User object
Field Type Description idstring User UUID. emailstring User email address. display_namestring User display name. statestring User state. Possible values: STATE_UNSPECIFIED, ACTIVE, SUSPENDED. This value is ACTIVE in a successful response. create_timestring Date and time when the user was created. Uses the RFC 3339 standard . pathstring Resource path for the user. Format: accounts/<account_id>/users/<account_id>.