List the spaces assigned to a user
View the spaces a user can access.
Permissions
info
This action requires the following IAM (Identity and Access Management) permissions:
- iam.user.get
- Console
- API
- Terraform

- In the Users table, click the identifier of the user whose accessible spaces you want to view.
tip
You can search for a specific user using the Search field.
- On the user's Details page, you will find the list of spaces the user can access.
Example:
curl 'https://api.{region}.numspot.com/iam/organisations/{organisationId}/users/{userId}/spaces'
Response:
{
"nextPageToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"totalSize": 150,
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
info
See the page on using the API for the implementation.
The Terraform documentation is available on the Numspot registry ↗.