Share a project template to spaces
POST /api
Path Parameters
gitRefstring (required)slugstring (required)
Request Body
GitRefstring (required)IndividuallySharedSpaceIdsarray of string (required)ShareToAllSpacesboolean (required)Slugstring (required)
Minimum length 1.
Response
200 — Response containing the results of the share project template command
IndividuallySharedSpaceIdsarray of stringIndividuallyUnsharedSpaceIdsarray of stringSharedToAllSpacesboolean
Example Request
JSON
{
"GitRef": "string",
"IndividuallySharedSpaceIds": [
"Spaces-1",
"..."
],
"ShareToAllSpaces": true,
"Slug": "string"
}Example Response
JSON
{
"IndividuallySharedSpaceIds": [
"Spaces-1",
"..."
],
"IndividuallyUnsharedSpaceIds": [
"Spaces-1",
"..."
],
"SharedToAllSpaces": true
}