Edit in GitHubLog an issue
B2B feature. Learn more
Thanks to Atwix for contributing this topic!

deleteCompanyRole mutation

Use the deleteCompanyRole mutation to delete a company role by ID.

You can get the role ID with the company query.

This mutation requires a valid customer authentication token.

Syntax

Copied to your clipboard
mutation {
deleteCompanyRole(
id: ID!
) {
DeleteCompanyRoleOutput
}
}

Reference

The deleteCompanyRole reference provides detailed information about the types and fields defined in this mutation.

Example usage

The following example deletes the specified company role.

Request:

Copied to your clipboard
mutation {
deleteCompanyRole(
id: "Mg=="
) {
success
}
}

Response:

Copied to your clipboard
{
"data": {
"deleteCompanyRole": {
"success": true
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.