curl --request POST \
--url https://api.ofauth.com/v2/access/users/:userId/restrict \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{
"success": true
}Add the user to the restricted-users set for the authenticated account.
Permission Required: users:write
curl --request POST \
--url https://api.ofauth.com/v2/access/users/:userId/restrict \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{
"success": true
}Documentation Index
Fetch the complete documentation index at: https://docs.ofauth.com/llms.txt
Use this file to discover all available pages before exploring further.
Requires a connection via the x-connection-id header.
User ID (numeric or username)
1Successful response
Was this page helpful?