Workspace groups
Create a workspace group
Create a new workspace group for the specified organization. Only STATIC type workspace groups are currently supported. Returns the created workspace group ID upon successful creation.
POST
/
v2
/
organizations
/
{organization_id}
/
workspace-groups
curl --request POST \
--url https://api.flexxible.net/v2/organizations/{organization_id}/workspace-groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Grupo de Workspaces de producción"
}
'{
"id": "<string>",
"name": "<string>",
"organization_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"created_by": "<string>",
"type": "static",
"filter": "<string>",
"location": {
"latitude": 123,
"longitude": 123,
"address": "<string>",
"description": "<string>"
},
"entra_id_source": {
"resource_id": "<string>",
"resource_type": "group",
"resource_name": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}Authorizations
Path Parameters
Body
application/json
Response
Workspace group successfully created. The response contains the created resource.
⌘I
curl --request POST \
--url https://api.flexxible.net/v2/organizations/{organization_id}/workspace-groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Grupo de Workspaces de producción"
}
'{
"id": "<string>",
"name": "<string>",
"organization_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"created_by": "<string>",
"type": "static",
"filter": "<string>",
"location": {
"latitude": 123,
"longitude": 123,
"address": "<string>",
"description": "<string>"
},
"entra_id_source": {
"resource_id": "<string>",
"resource_type": "group",
"resource_name": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<string>"
}
}