You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

ResourceApiUsers
URL/api/v2/api_users
Supported Standard Operations
  • Add
  • Delete
  • Edit
  • View (one)
  • View (all)

Attributes

  • See api_users for definitions of other attributes and elements
AttributeValueRequired?
idAPI User IDRequired for edit, omit for add
co_idCO IDYes
usernameAPI UsernameYes
api_keyAPI KeyNot permitted on write operations, use generate instead
statusAPI User StatusYes
privilegedWhether this API User is privileged
valid_from

Valid from (timestamp)


valid_throughValid through (timestamp)
remote_ipRegular expression describing permitted remote IP addresses for this API User

Sample Record

{
  "id": 5,
  "co_id": 2,
  "parent_id": null,
  "name": "Researchers",
  "description": "Test CO Researcher"
}

Implementation Notes

View (all)

Additional filters:

  • co_id

Example: Obtain API Users in a given CO

GET /registry/api/v2/api_users.json?co_id=2
  • No labels