List Spaces For Isolation Segment
List spaces relationship
This endpoint lists the spaces to which the isolation segment is assigned. For an Admin, this will list all associated spaces in the system. For an org manager, this will list only those associated spaces belonging to orgs for which the user is a manager. For any other user, this will list only those associated spaces to which the user has access.
Permitted roles: All Roles
Request
URI
GET
https://api.example.local/v3/isolation_segments/{guid}/relationships/spaces
COPY
Path Parameters
string
guid
Required
The unique identifier for the resource
Responses
200
OK
Returns
RelationshipToMany
of type(s)
application/json
{
"data": [
{
"guid": "string"
}
],
"links": {
"self": {
"href": "string",
"method": "string"
},
"related": {
"href": "string",
"method": "string"
}
}
}
array of
object
data
Optional
data
object
links
Optional
links
401
Unauthorized
Returns
Unauthorized
of type(s)
application/json
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
array of
object
errors
Optional
errors
403
Forbidden
Returns
Forbidden
of type(s)
application/json
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
array of
object
errors
Optional
errors
404
Not Found
Returns
NotFound
of type(s)
application/json
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
array of
object
errors
Optional
errors
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/v3/isolation_segments/{guid}/relationships/spaces
Isolation Segments Operations
GET
List Isolation Segments
POST
Create Isolation Segment
GET
Get Isolation Segment
PATCH
Update Isolation Segment
DELETE
Delete Isolation Segment
POST
Entitle Organizations For Isolation Segment
GET
List Organizations For Isolation Segment
DELETE
Revoke Isolation Segment For Organization
GET
List Spaces For Isolation Segment
GET
List Organizations For Isolation Segment Short