Skip to content

GetUserAttribute

GET/api/v1/users/{user}/userattributes/{user_attribute}

Fetch one attribute of a user by name.

Example request

curl \
-H "Authorization: Bearer ${OBLIQUE_API_KEY}" \
"https://us.oblique.security/api/v1/users/{user}/userattributes/{user_attribute}"

Set OBLIQUE_API_KEY to your API key.

Path parameters

  • namestringrequired

    Format: users/{user}/userattributes/{user_attribute}

Response

200UserAttribute
  • namestring

    Assigned by Oblique.

  • createTimestring (date-time)read-only

    Create timestamp of the attributes. This is always the same as the parent user.

  • updateTimestring (date-time)read-only

    The last time that attributes were modified.

  • integrationstringrequired

    The integration that manages the attribute.

    Format: integrations/{integration}

  • keystringrequired

    The key of the attribute, such as “department” or “costCenter”.

  • valuestringrequired

    The value of the attribute, such as “Engineering” or “12345”.

Errors

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