PUT
/
spaces
/
{id}
curl --request PUT \
  --url https://forgegames.org/api/spaces/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "cols": 123,
  "rows": 123
}'
{
  "id": "<string>",
  "name": "<string>",
  "cols": 123,
  "rows": 123,
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "teamId": "<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

Body

application/json

Response

200
application/json
Successful response

The response is of type object.