Users
Includes pending invitations (lastLogin null).
Users returned.
An admin console user, as seen from this tenant.
User id, used as userId by the other endpoints.
Sign-in e-mail, shared across tenants.
Display name, shared across tenants; null when none.
Whether the account is blocked from signing in to any tenant. Read-only.
Last sign-in to any tenant; null when never signed in (e.g. invitation not yet used).
Role on this tenant (administrator for a tenant administrator); null when none.
The caller is not authenticated.
The caller lacks the tenant.access:read scope.
The tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
GET /api/{tenantId}/admin/users HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "text",
"email": "text",
"name": null,
"blocked": true,
"lastLogin": null,
"tenantRole": null
}
]Creates a user or attaches an existing one to this tenant. If the user already has access and has signed in, returns 409; if they never signed in, the role is updated and a new invitation e-mail is sent (retry or correct the role). A new account, or one that has not been activated, gets an invitation e-mail (see the invitation endpoints); an activated account gets an "access granted" e-mail. Example: { "email": "jane@example.com", "role": "administrator" }.
Request body to invite a user.
User e-mail. An existing account with this address is reused, otherwise one is created.
Display name, up to 200 characters. Used only when a new account is created.
Role to grant on this tenant: administrator or a tenant role, case-insensitive. Else 400.
Admin console language of the invitee, used only when no account exists yet. English when omitted or unsupported.
User created or attached, and the e-mail sent.
An admin console user, as seen from this tenant.
User id, used as userId by the other endpoints.
Sign-in e-mail, shared across tenants.
Display name, shared across tenants; null when none.
Whether the account is blocked from signing in to any tenant. Read-only.
Last sign-in to any tenant; null when never signed in (e.g. invitation not yet used).
Role on this tenant (administrator for a tenant administrator); null when none.
E-mail or role missing, role unknown on this tenant, or name over 200 characters.
The caller is not authenticated.
The role grants permissions the caller does not hold.
The tenant does not exist.
User already has access and has signed in.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
POST /api/{tenantId}/admin/users HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"email": "text",
"name": null,
"role": "text",
"language": null
}{
"id": "text",
"email": "text",
"name": null,
"blocked": true,
"lastLogin": null,
"tenantRole": null
}User id, as returned in id.
User returned.
An admin console user, as seen from this tenant.
User id, used as userId by the other endpoints.
Sign-in e-mail, shared across tenants.
Display name, shared across tenants; null when none.
Whether the account is blocked from signing in to any tenant. Read-only.
Last sign-in to any tenant; null when never signed in (e.g. invitation not yet used).
Role on this tenant (administrator for a tenant administrator); null when none.
The caller is not authenticated.
The caller lacks the tenant.access:read scope.
No such user, or no access to this tenant.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
GET /api/{tenantId}/admin/users/{userId} HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "text",
"email": "text",
"name": null,
"blocked": true,
"lastLogin": null,
"tenantRole": null
}Replaces the role on this tenant and, when name is sent, the display name on every tenant. Sends no e-mail.
User id, as returned in id.
Request body to update a user.
New display name, up to 200 characters. Null keeps the current one; the name changes on every tenant.
Role to hold on this tenant, replacing the current one: administrator or a tenant role, case-insensitive. Else 400.
User updated.
An admin console user, as seen from this tenant.
User id, used as userId by the other endpoints.
Sign-in e-mail, shared across tenants.
Display name, shared across tenants; null when none.
Whether the account is blocked from signing in to any tenant. Read-only.
Last sign-in to any tenant; null when never signed in (e.g. invitation not yet used).
Role on this tenant (administrator for a tenant administrator); null when none.
Role missing or unknown on this tenant, or name over 200 characters.
The caller is not authenticated.
The new or the current role grants permissions the caller does not hold.
No such user, or no access to this tenant.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
PUT /api/{tenantId}/admin/users/{userId} HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"name": null,
"role": "text"
}{
"id": "text",
"email": "text",
"name": null,
"blocked": true,
"lastLogin": null,
"tenantRole": null
}Removes the access to this tenant but keeps the account and its other tenants. A pending invitation stops working. Idempotent: an unknown id also returns 204.
User id, as returned in id.
User removed, or no such user.
No content
The caller is not authenticated.
The user's role grants permissions the caller does not hold.
The tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
DELETE /api/{tenantId}/admin/users/{userId} HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Profile, role and expanded permissions of the signed-in user on this tenant.
Profile and permissions returned.
The signed-in user, as seen from this tenant.
User id.
Sign-in e-mail.
Display name; null when none.
Role on this tenant: globalAdministrator for a global administrator, administrator for a tenant administrator.
Every scope held on this tenant, sorted, wildcards expanded: role permissions plus individual grants.
The caller is not authenticated.
The caller lacks the tenant.core:read scope.
The tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
GET /api/{tenantId}/admin/users/me HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"userId": "text",
"email": "text",
"displayName": null,
"role": null,
"permissions": [
"text"
]
}Last updated

