Playground Shares
Create
Action Logs
Bitbucket Server
Catalog News Articles
Catalog Technologies
Code Repos
Comment Replies
Diagram Contents
Diagrams
Flows
Health
Landscape Search
Landscape Templates
Landscape Thumbnails
Model Connections
Model Objects
News
Organization Billing
Organization Icons
Organization Landscapes
Organizations
Organization Technologies
Organization User Invites
Organization Users
Playground Contents
Playground Shares
Share Link
Share Link Options
Support
User
User Notifications
User Goals
Version Reverts
Playground Shares
Create
Create a sharable playground token that grants a given permission when used
POST
/
playgrounds
/
{playgroundId}
/
shares
curl --request POST \
--url https://api.icepanel.io/v1/playgrounds/{playgroundId}/shares \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"expiresAt": "2023-11-07T05:31:56Z",
"permission": "read"
}'
{
"playgroundShare": {
"expiresAt": "2023-11-07T05:31:56Z",
"permission": "read",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "user",
"createdById": "<string>",
"id": "<string>",
"playgroundId": "<string>",
"slug": "<string>"
}
}
Headers
Path Parameters
Body
application/json
Share will be invalidated at this date
Available options:
read
, write
, admin
Response
200
application/json
OK
Share will be invalidated at this date
Available options:
read
, write
, admin
Available options:
user
, api-key
, notification-key
, service
curl --request POST \
--url https://api.icepanel.io/v1/playgrounds/{playgroundId}/shares \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"expiresAt": "2023-11-07T05:31:56Z",
"permission": "read"
}'
{
"playgroundShare": {
"expiresAt": "2023-11-07T05:31:56Z",
"permission": "read",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "user",
"createdById": "<string>",
"id": "<string>",
"playgroundId": "<string>",
"slug": "<string>"
}
}