Skip to content

GetResourceAttribute

GET/api/v1/resources/{resource}/resourceattributes/{resource_attribute}

Fetch one attribute of a resource by name.

Example request

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

Set OBLIQUE_API_KEY to your API key.

Path parameters

  • namestringrequired

    Format: resources/{resource}/resourceattributes/{resource_attribute}

Response

200ResourceAttribute

A ResourceAttribute is a key/value pair attached to a resource, sourced from an external system such as Okta. Attributes are arbitrary metadata set by operators.

  • namestring

    Assigned by Oblique.

  • createTimestring (date-time)read-only

    Create timestamp of the attribute. This is the time of the first sync that detected the attribute.

  • updateTimestring (date-time)read-only

    The last time that the attribute was modified.

  • integrationstringrequired

    The integration that manages the attribute.

    Format: integrations/{integration}

  • keystringrequired

    The key of the attribute.

  • valuestringrequired

    The value of the attribute.

Errors

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