Overview
The User service provides methods to manage users within your Gcore account, including creating invitations, updating user details, listing users, and managing access.List Users
Retrieve a list of all users in your account. Supports pagination when thelimit parameter is provided.
With Pagination
Auto-Pagination
The maximum number of users to return per page
Offset relative to the beginning of the list
Get User Details
Retrieve detailed information about a specific user by their ID.The unique identifier of the user
Response Fields
User’s unique identifier
User’s full name
User’s email address
Email confirmation status.
true if user confirmed their email, false otherwiseUser activity flag
User’s phone number
User’s company name
User’s language preference. Defines language of the control panel and email messages. Values:
de, en, ru, zh, azUser’s groups in the current account. Each group contains
id and nameList of authentication types available for the user. Values:
password, sso, github, google-oauth2User’s account ID
List of clients the user has access to, including role information for each client
Deletion flag.
true if user was deletedTwo-factor authentication status.
true if enabled, false if disabledSSO authentication flag.
true if user can login via SAML SSOUser’s type. Values:
common, reseller, sellerServices provider ID
Invite User
Invite a new user to your account. The user will receive an email with instructions to create an account or accept the invitation.ID of the account to invite the user to
Email address of the user to invite
Role to assign to the user. Specify either
id or name:- ID
1or nameAdministrators - ID
2or nameUsers - ID
5or nameEngineers - ID
3022or namePurge and Prefetch only (API) - ID
3009or namePurge and Prefetch only (API+Web)
User’s full name (optional)
User’s language preference. Values:
de, en, ru, zh, azResponse
The ID of the invited user
Status of the invitation
Update User
Update a user’s details including name, email, phone, language, and authentication types.The unique identifier of the user to update
User’s full name
User’s phone number
User’s email address
User’s language preference. Values:
de, en, ru, zh, azList of authentication types to enable for the user. Values:
password, sso, github, google-oauth2Delete User
Revoke a user’s access to the specified account. If the user doesn’t have access to multiple accounts, the user will be deleted entirely.The unique identifier of the user to delete
The account ID from which to revoke the user’s access
User Roles and Permissions
Each user can be assigned to one or more groups that define their permissions:Administrator
- ID: 1
- Permissions: Full access to all account features and settings
Users
- ID: 2
- Permissions: Standard user access with limited administrative capabilities
Engineers
- ID: 5
- Permissions: Technical access with engineering-specific permissions
Purge and Prefetch only (API)
- ID: 3022
- Permissions: Limited to purge and prefetch operations via API only
Purge and Prefetch only (API+Web)
- ID: 3009
- Permissions: Limited to purge and prefetch operations via both API and web interface
Best Practices
- Use appropriate roles: Assign the minimum required permissions to each user
- Enable two-factor authentication: Encourage users to enable 2FA for enhanced security
- Regular audits: Periodically review user access and remove inactive users
- SSO integration: Consider using SAML SSO for enterprise authentication
- Language preferences: Set the correct language for each user to improve their experience
