833 B
Executable File
833 B
Executable File
layout | page_title | sidebar_current | description |
---|---|---|---|
api | Users API | docs-enterprise-api-users | Users are both users and organizations in Terraform Enterprise. They are the parent resource of all resources. |
Users API
Users are both users and organizations in Terraform Enterprise. They are the parent resource of all resources.
Currently, only the retrieval of users is avaiable on the API. Additionally, only box resources will be listed. Boxes will be returned based on permissions over the organization, or user.
Actions
The following actions can be perfomed on this resource.
- Show
- GET /api/v1/user/:username
Examples
Retrieve a user
$ curl %{ATLAS_URL}/api/v1/user/%{DEFAULT_USERNAME} \
-H "X-Atlas-Token: $ATLAS_TOKEN"