Delete a user
/users/{user_id}Moves the user to the trash. The user's enrollments, access, and associations are preserved.
To restore the user, send deleted: false to the update operation.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/users/string"Update a user PATCH
Updates a user. Only the fields supplied in the request are changed. When `settings` is supplied, any setting omitted from it is set to `false`. To restore a user from the trash, send `deleted: false`. `status` is derived from the user's activity and is read-only. Including it in the request returns `unknown_field`. To avoid overwriting a newer version, send the `ETag` returned by the retrieve operation in the `If-Match` header.
Update access duration for all products PATCH
Applies the same access duration to every product the user has access to. The request is processed asynchronously. The response returns an operation, and the `Location` header points to it so you can track its progress. An `Idempotency-Key` header is required.