Skip to main content

Assign a business to a user

PUT /api/v1/users/:userId/businesses/:businessId/assign

Description

Assign a business to a user.

Headers:

  • Content-Type: application/json
  • Authorization: Bearer {{bearerToken}}

URL: /api/v1/users/:userId/businesses/:businessId/assign

Path Parameters:

  • userId (Required): User ID
  • businessId (Required): Business ID

Response: The response is "OK" with a code of 200.

/api/v1/users/:userId/businesses/:businessId/assign

🔑 Authentication bearer

ParamvalueType
tokenbearerTokenstring

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PUT \ 
--url /api/v1/users/:userId/businesses/:businessId/assign \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!