API Reference
Log In
API Reference

Set how people join your account without an administrator choosing their role

Sets defaultLoginRole, the role a person gets when an administrator approves their join request without picking a role, or when they are admitted from your department directory at their first sign-in, and admitDirectoryPeopleWithoutApproval. When true, someone your account already meters gets a login with defaultLoginRole the first time they sign in with a verified email, without a join request, when they are an active person in your department directory, their email is on a domain Revenium registered to your account, and no administrator of your account ever denied a join request from them. Everyone else makes a join request for an administrator to approve, as everyone does while this is false. Both fields are required. Every account starts at ROLE_READ_ONLY and false. Changing these never changes the role of anyone who already has a login. Callable by an Account Administrator (ROLE_TENANT_ADMIN) of this account or a platform administrator; a Team Administrator (ROLE_ORG_ADMIN) gets 403.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Your account ID (not a team ID).

Body Params

Request to set how people join your account without an administrator choosing their role

string
enum
required

The role a person gets when an administrator approves their join request without picking a role, or when they are admitted from your department directory at their first sign-in. ROLE_READ_ONLY sees your whole account's spend; ROLE_MEMBER sees only their own usage, and their read and write API keys are suspended when they get it.

Allowed:
boolean | null
required

When true, someone your account already meters gets a login with defaultLoginRole the first time they sign in with a verified email, without a join request, when they are an active person in your department directory, their email is on a domain Revenium registered to your account, and no administrator of your account ever denied a join request from them. Everyone else makes a join request for an administrator to approve, as everyone does while this is false. Required: omitting it or sending null is rejected with a 400.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*