PATCH
/
playgrounds
/
{playgroundId}
curl --request PATCH \
  --url https://api.icepanel.io/v1/playgrounds/{playgroundId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "sharing": true,
  "version": 123
}'
{
  "playground": {
    "name": "<string>",
    "sharing": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "id": "<string>",
    "slug": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>",
    "userIds": [
      "<string>"
    ],
    "users": {},
    "version": 123
  }
}

Headers

Authorization
string
required

Path Parameters

playgroundId
string
required

Body

application/json
name
string
sharing
boolean

Enable sharing of the playground to other users

version
number

Response

200
application/json
OK
playground
object
required