Skip to content

ListResourceOwners

GET/api/v1/resources/{resource}/owners

List the users, teams, and groups that own a resource.

curl \
-H "Authorization: Bearer ${OBLIQUE_API_KEY}" \
"https://us.oblique.security/api/v1/resources/{resource}/owners"

Set OBLIQUE_API_KEY to your API key.

  • parentstringrequired

    Format: resources/{resource}, or resources/- to list across all resources.

  • pageSizeinteger (int32)

    The maximum number of owners to return. This service may return fewer than this value.

  • pageTokenstring

    A page token, received from a previous ListResourceOwners call.

200ListResourceOwnersResponse
  • resourceOwnersResourceOwner[]
    • namestring

      Assigned by Oblique. Name of the owner of the format resources/{resource}/owners/{owner}.

    • ownerstringrequired

      Set once, when the resource is created. The owner of the resource. This can be a user, group, or team.

      Format: users/{user}, groups/{group}, teams/{team}

    • createTimestring (date-time)read-only

      Create and update timestamps.

    • updateTimestring (date-time)read-only
  • nextPageTokenstring

    A token, which can be sent as page_token to retrieve the next page.

StatusMeaning
400Malformed request
401Missing or invalid API key
403Not allowed for this API key
404Not found
429Too many requests
500Internal server error