Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Add address restriction for user

Adds a user restriction to a specific organization address. This prevents the specified merchant user from accessing the given address within the organization.

POST/api/v1/{team_slug}/{app_slug}/organisations/{org_id}/address/{address_id}
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
app_slugstringrequired

Application slug identifier

team_slugstringrequired

Team slug identifier

org_idstringrequired

Organization UUID

address_idstringrequired

Address UUID

Request body
requiredapplication/json

Merchant user ID to restrict from this address

merchant_user_idstringrequired
Responses
200

User restriction added successfully

datastringrequired
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request (e.g. bad payload, validation error)

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
404

Organization, address, or user not found

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://api.enad.io/api/v1/string/string/organisations/string/address/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "merchant_user_id": "string"
}'
Response
{
  "data": "string",
  "details": [
    "string"
  ],
  "success": true
}