POST
/
locations
/
{id}
/
location_members
curl --request POST \
  --url https://api.pocketflows.com/locations/{id}/location_members \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "<string>"
}'
{
  "id": "<string>",
  "user": "<string>",
  "location": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the location

Body

application/json
user_id
string
required

The ID of the user

Response

200 - application/json

The created LocationMember object

id
string
required

The ID of the location member

user
string
required

The user associated with the location member

location
string
required

The location associated with the location member