Roles

Delete a role

Delete a custom role.

delete/v0.1/merchants/{merchant_code}/roles/{role_id}

Path parameters

merchant_codestring required
Example:MK10CL2A

Short unique identifier for the merchant.

role_idstring required
Example:role_WZsm7QTPhVrompscmPhoGTXXcrd58fr9MOhP

The ID of the role to retrieve.

Response

Returns an empty response if the role deletion succeeded.

Changes

Changed in 4 of the 53 revisions of this API.7

    • the security scope roles.write was added to the endpoint's security scheme oauth2

      api-security-scope-added

    • the security scope user.subaccounts was added to the endpoint's security scheme oauth2

      api-security-scope-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • media type application/json was changed to a more specific media type application/problem+json for the response status 400

      response-media-type-name-specialized

    • media type application/json was changed to a more specific media type application/problem+json for the response status 404

      response-media-type-name-specialized

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the media type application/json for the response with the status 400

      response-media-type-added

    • added the media type application/json for the response with the status 404

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog