Skip to content

Endpoint for listing all users doesn't work #1133

@Tcarters

Description

@Tcarters

Hello Team,

Using following documentationAPI USER DOCS, we are able to retrieve information about one user but the cqse for retrieving all users is not available in your documentation.

And I have tested the following :

curl http GET "https://app.terraform.io/api/v2/organizations/my-organization-name/users"
"Authorization: Bearer $TOKEN-ORGANIZATION"
"Content-Type: application/vnd.api+json"

Response got :

{
"errors": [
{
"status": "404",
"title": "not found"
}
]
}

INFORMATION: I am using Terraform HCP free version.

I found also this documentation : https://developer.hashicorp.com/terraform/enterprise/api-docs/admin/users but it doesn't work.

Could you please provide the correct documentation for retrieving all users in the terraform HCP version ?

Best Regards,
Edmund.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions