Grups de Workspaces
Crear un grup de workspaces
Crea un nou grup de workspaces per a l’organització especificada. Actualment només s’admeten grups de workspaces de tipus STATIC. Retorna l’ID del grup de workspaces creat després d’una creació exitosa.
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>"
}
}Autoritzacions
Paràmetres de ruta
Cos
application/json
Resposta
Grup de workspaces creat correctament. La resposta conté el recurs creat.
⌘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>"
}
}