Manage Teams and Members
Invite a member to the organization
post
/api/membersSends an invitation to join the organization to the given email address.
bash
Sample requestcurl --request POST 'https://api.eu-west-1.aws.dash0.com/api/members' \
--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}" \
--header 'Content-Type: application/json' \
--data-raw '{
"emailAddress": "example",
"role": "example"
}'Request body required
References InviteMemberRequest
stringrequired
The address the invitation is sent to. An address that the organization's sign-up
restrictions do not permit is rejected with 403, and an address that already belongs
to the organization, or already has a pending invitation, with 409.
stringrequired
The role the invited member receives. The built-in roles are admin and
basic_member; an organization with custom roles configured may use those instead.
An unknown role is rejected with 400.
Responses
Successfully invited the member.