curl --request POST \
--url https://api.example.com/orgs/{org_id}/members \
--header 'Content-Type: application/json' \
--data '
{
"user_id": "<string>",
"role": "editor"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Add a member to organization.
curl --request POST \
--url https://api.example.com/orgs/{org_id}/members \
--header 'Content-Type: application/json' \
--data '
{
"user_id": "<string>",
"role": "editor"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}