Glue API: Delete warehouse user assignments
Edit on GitHubA warehouse user can have multiple warehouses assigned to them. However, because a user can be physically present only in one warehouse, a single warehouse assignment can be active for them at a time. This endpoint lets you delete warehouse user assignments.
Installation
For detailed information about the modules that provide the API functionality and related installation instructions, see:
Delete a warehouse user assignment
DELETE
/warehouse-user-assignments/{{warehouse_user_assignment_id}}
PATH PARAMETER | DESCRIPTION |
---|---|
{{warehouse_user_assignment_id}} | ID of the user warehouse assignment to delete. You get it when creating a warehouse user assignment |
Request
HEADER KEY | HEADER VALUE | REQUIRED | DESCRIPTION |
---|---|---|---|
Authorization | string | ✓ | Alphanumeric string that authorizes the Back Office user to send requests to protected resources. Get it by authenticating as a Back Office user. |
Request sample: DELETE https://glue-backend.mysprykershop.com/warehouse-user-assignments/4464f4d0-34ab-57bb-ac2b-77609bbacb2b
Response
If the warehouse user assignment is deleted successfully, the endpoint returns the 204 No Content
status code.
Possible errors
CODE | REASON |
---|---|
5201 | The warehouse user assignment with the specified ID doesn’t exist. |
To view generic errors that originate from the Glue Application, see Reference information: GlueApplication errors.
Thank you!
For submitting the form