List Organizations For Isolation Segment

List Organizations For Isolation Segment
List organizations relationship

This endpoint lists the organizations entitled for the isolation segment. For an Admin, this will list all entitled organizations in the system. For any other user, this will list only the entitled organizations to which the user belongs.

Permitted roles: All Roles

Request
URI
GET
https://api.example.local/v3/isolation_segments/{guid}/relationships/organizations
COPY
Path Parameters
string
guid
Required  

The unique identifier for the resource


Authentication
This operation uses the following authentication methods.
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/organizations