iTwin member was successfully added.
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{
"error": {
"code": "Unauthorized",
"message": "Access denied due to invalid access_token. Make sure to provide a valid token for this API endpoint."
}
}
The user has insufficient permissions for the requested operation.
{
"error": {
"code": "InsufficientPermissions",
"message": "The user has insufficient permissions for the requested operation."
}
}
This response indicates that iTwin, email, or roles with specified ID were not found.
{
"error": {
"code": "ItwinNotFound",
"message": "Requested iTwin is not available."
}
}
Invalid request to add new iTwin member. Member already exists in iTwin.
{
"error": {
"code": "iTwinMemberAlreadyExists",
"message": "Member '364332ad-2b18-4c72-a4a7-773075c6d30c' already exists in iTwin '1b7410a8-f273-48c7-8d6c-2689e8daeb75'."
}
}
Invalid request to add new iTwin member. Request payload might be missing some of the required properties.
{
"error": {
"code": "InvalidiTwinsMemberRequest",
"message": "Request body or query is invalid.",
"details": [{
"code": "MissingRequiredProperty",
"message": "Required property is missing.",
"target": "members[0].email"
},
{
"code": "MissingRequiredProperty",
"message": "Required property is missing.",
"target": "members[0].roleId"
}
]
}
}
This response indicates that the user has sent too many requests in a given amount of time.
{
"error": {
"code": "TooManyRequests",
"message": "More requests were received than the subscription rate-limit allows."
}
}