Workspaces API

Add a sandbox schema that already exists

POST /api/workspaces/:workspace_id/sandbox

Parameters

Name Description
workspace_id Id of a workspace
schema_id Id of the schema to add as a sandbox

Request

Headers

Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: _session_id=UjdoVGJaeDRMQ0dueUoxZEh2ZEtUOE10UHFkWVI3eE1EbWhHWnlUQUZ1bklmU1dSNmJCUzNySGZHUmhzdWtwL0RKWWxtN0NOUnRzYmhYa3ZqQ1F1a3cyWCtpR0lpajg5TngxanRrbEphc1ExUjR4ZW5hUDc0TEJ3TS9tR0ZZS2FzeEVZYkU4Q094WlpkekNqL2VXd2lMNlJFOXo5YmJpaU1VaFRTT0UrZzJnWVNZazhQem9iSFdqUHN6cWMvdms4bU5BR01UdmlzL2ZZVmFHV3p0b1BYMk9QY0gvUFVvMGhGellsSzV2bHQzbW1EQWdRZzdrUStrSjNxdEUwTXV0MHR5dUZMTy9QZmZJUzliYTNSZjFlbGtuQmJQNXYxakI1bHRZbXA1MEt2Z3hXcFBQZGJTOWtzMDg3cDYrZG15WDFmRHRBdWJIaTZCclVHYVZpbzQ4NVo2NWdMRGdtOStQSlZjWVJKKy9vTG5IdS84SWdxZ1RpcmlMUzRoNlJ5TXlOLzB3OXNrMXlHQXBaYmRtTDc0MG0wSzZxbzhFSkJBVDRUd2lidEVkOGdhWT0tLUd3UjdQRkdBM2xYTUlZOE52Yyt4b3c9PQ%3D%3D--3c800ab36ecf663a6509ec2d6dda31bf64d265d7

Route

POST /api/workspaces/1000008/sandbox

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"99914b932bd37a50b983c5e7c90ae93b"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _session_id=c25LbG5reGZuRUlaNlFuYWVlVHBkWGdMcWxZY01WRGF2YlltSnRnUXM2RVM3LzJYME9UbzNCZmZXZ0FQV05tVnFrNmpPdW5BNVhVUWdkWUU1ZzFJcjViRXA5Tml6QytrZHFEeFQ2Q21mL2U5a3ZMQTYyVG1yZ2pQM2crYWIyOGNkYktUVGluVTh1YnhvcHF3MWU5djJ0b0Y2N3F0S2FvVzl1b1Zrb09COCtWUXlIK2U1anI5OXhERDg2YldwMzhteFFPbnYwdEkzV2hVV2FpY05WcElkZUFDSlpXNVIybnNWZW9vaXVuV3hkeGp6RlJJRHFXU0dFdEVEQmQrTEIzbTBJN1Z6S1grTGNaWVhtUUpPUkxWS2U5YTR1UXVoOFFaNUlrRmhuN3drTzF3NzdFalg0V0hXbDIwT3pYSi93TVhtZEtIU0gwVnIyWnlPNHhJdjE1VVhHdnBrUVptUm5pYmVEUUhTeks4YWN3OTZXZHJBemhRWkNyUnFwanV2TlFPa1d0T2NDb0pEUDRFb3dsMmoyanhMU0RKNm5qOHRGcS9xMmtzQWk1emtpak5hOG15VEV0QTVDNTMwaDk1VTV6Ky0tcVVpVS9kUTh1NFpSODVqY1NsNEs1Zz09--4a63b8c5aca77246c063d5f7674ba3aeb350ef88; path=/; HttpOnly
X-Request-Id: 3d57e112-12fd-4c3d-89b0-469a0ae7bde1
X-Runtime: 0.056152
Content-Length: 2

Status

201 Created

Body