Skip to main content
POST
/
v1
/
config
/
members
Creates a new member
curl --request POST \
  --url https://api.mezmo.com/v1/config/members \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "testemail@gmail.com",
  "role": "member",
  "groups": [
    "<string>"
  ]
}
'
{
  "email": "testemail@gmail.com",
  "role": "member",
  "groups": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://mezmo-9a59581a-mintlify-926f893d.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

This key is used for all apis with the exception of ingest. You can obtain it following these instructions and placing the key in the header of your call in the format of Authorization: Token {accesstoken} For example:

curl -H 'Authorization: Token <ACCESS TOKEN>'

Body

application/json

Request parameters.

email
string

Email of a member

Example:

"testemail@gmail.com"

role
enum<string>

role of member. Owner shall not be created or set through api

Available options:
owner,
admin,
readonly,
member
Example:

"member"

groups
string[]

The ID of one of RBAC groups that belong to the account

Response

A new member was created successfully! Entire memberResource is returned.

email
string

Email of a member

Example:

"testemail@gmail.com"

role
enum<string>

role of member. Owner shall not be created or set through api

Available options:
owner,
admin,
readonly,
member
Example:

"member"

groups
string[]

The ID of one of RBAC groups that belong to the account