roles
Creates an role
Creates an role
post/roles
Request
- Base URLhttps://provisioning.commercelayer.io
- URLhttps://provisioning.commercelayer.io/roles
- AuthHTTP bearer
Request body
Example request
{
"data": {
"attributes": {
"name": "Custom role",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
},
"relationships": {
"organization": {
"data": {
"id": "XGZwpOSrWL"
}
}
}
}
}Response
The created role object
Changes
No recorded changes to this operation across all 1 revision of this API.