cURL
curl --request POST \ --url https://forgegames.org/api/item-instances/{id}/move \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "userId": "<string>", "spacePositionX": 123, "spacePositionY": 123, "spaceId": "<string>" } '
{ "code": "BAD_REQUEST", "message": "Invalid input data", "issues": [] }
Moves a specified item instance to a new location within the user’s space grid.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The X coordinate in the grid in which to move the item
The Y coordinate in the grid in which to move the item
Successful response