Create an assignment

Assign a resource to a membership for a given period. Validations (resource availability, no overlapping assignments) are enforced by the backend.

Required scopes: flex.space.assignments.create

Path Params
string
required

organization slug

Body Params
string
required

The _id of the resource to assign.

string
required

The _id of the membership to assign the resource to.

string
required

The start date of the assignment (ISO 8601).

string

The end date of the assignment (ISO 8601). Optional for open-ended assignments.

Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json