POST
/orgs/roles
curl \
--request POST 'https://open.api.missionx.ai/v2/orgs/roles' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"customId":"string","title":"string","cost":42.0,"costRateTime":"Monthly","billRate":42.0,"billRateTime":"Hourly"}'
Request examples
{
"customId": "string",
"title": "string",
"cost": 42.0,
"costRateTime": "Monthly",
"billRate": 42.0,
"billRateTime": "Hourly"
}
Response examples (200)
{
"_id": "string",
"customId": "string",
"title": "string",
"cost": 42.0,
"costRateTime": "Monthly",
"billRate": 42.0,
"billRateTime": "Hourly"
}
Response examples (400)
{
"message": "string",
"code": "string",
"data": {}
}
Response examples (500)
{
"message": "string",
"code": "string",
"data": {}
}