Skip to main content
POST
/
resource
/
user
/
add
Add Resource Authorization
curl --request POST \
  --url https://apigw.bienport.com/api/resource/user/add \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '{
  "resourceId": 549706,
  "userId": 20199
}'
{
  "message": "<string>",
  "success": true
}

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

resourceUserRequest

resourceId
integer

Resource Id

Example:

549706

userId
integer

User Id

Example:

20199

Response

Message with Success Result

SuccessResult Api Model

message
string
success
boolean