Document Platform
Access Expiry

Reinstate a previously revoked user

Clears disabledAt. Optionally also sets a new expiresAt. Reactivates the WorkOS membership so the user can log in again.

post/customers/{customerId}/users/{userId}/access/reinstate

Request

  • Base URL: http://localhost:9000
  • URL: http://localhost:9000/customers/{customerId}/users/{userId}/access/reinstate
  • Auth: API key in header x-api-key

Path parameters

customerIdstring uuid required
userIdstring uuid required

Request body

expiresAtinteger nullable

Response

Default Response

Changes

No recorded changes to this operation across all 1 revision of this API.