curl --request POST \
--url https://api-next.ofauth.com/v2/access/users/:userId/restrict \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{}Restrict user
Permission Required: users:write
curl --request POST \
--url https://api-next.ofauth.com/v2/access/users/:userId/restrict \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{}Requires a connection via the x-connection-id header.
User ID (numeric or username)
1Successful response
The response is of type object.
Was this page helpful?