ListResourceEffectiveOwners
GET
/api/v1/resources/{resource}/effectiveownersList the flattened set of users who are direct or indirect owners of a resource.
Example request
Section titled “Example request”curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://us.oblique.security/api/v1/resources/{resource}/effectiveowners"Set OBLIQUE_API_KEY to your API key.
curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://eu.oblique.security/api/v1/resources/{resource}/effectiveowners"Set OBLIQUE_API_KEY to your API key.
Path parameters
Section titled “Path parameters”parentstringrequiredThe resource whose effective owners to list.
Format:
resources/{resource}
Query parameters
Section titled “Query parameters”pageSizeinteger (int32)pageTokenstring
Response
Section titled “Response”200ListResourceEffectiveOwnersResponseresourceEffectiveOwnersResourceEffectiveOwner[]namestringAssigned by Oblique. Name of the effective owner of the format
resources/{resource}/effectiveowners/{effective_owner}.userstringrequiredThe user that is an effective owner of the resource.
updateTimestring (date-time)read-onlycreateTimestring (date-time)read-only
nextPageTokenstring
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
400 | Malformed request |
401 | Missing or invalid API key |
403 | Not allowed for this API key |
404 | Not found |
429 | Too many requests |
500 | Internal server error |