Create an authorisation domain role
POST
/references/authorisationdomains/{AuthorisationDomainName}/authorisationdomainroles
curl \
--request POST 'https://matls-api.sandbox.raidiam.io/references/authorisationdomains/{AuthorisationDomainName}/authorisationdomainroles' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "x-fapi-auth-date: string" \
--header "x-fapi-customer-ip-address: string" \
--header "x-fapi-interaction-id: string" \
--header "x-customer-user-agent: string" \
--data '{"AuthorisationDomainRoleDescription":"","AuthorisationDomainRoleName":"PAGTO","Exclusive":true,"RoleType":"Federation"}'
Request examples
# Headers
x-fapi-auth-date: string
x-fapi-customer-ip-address: string
x-fapi-interaction-id: string
x-customer-user-agent: string
# Payload
{
"AuthorisationDomainRoleDescription": "",
"AuthorisationDomainRoleName": "PAGTO",
"Exclusive": true,
"RoleType": "Federation"
}
Response examples (201)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"AuthorisationDomainName": "string",
"AuthorisationDomainRoleDescription": "",
"AuthorisationDomainRoleIdentifier": "string",
"AuthorisationDomainRoleName": "PAGTO",
"Exclusive": true,
"RoleType": "Federation",
"Status": "Active"
}
Response examples (400)
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}