---
title: "Remove a API resource role from application"
method: DELETE
path: "/api/applications/{applicationId}/roles/{roleId}"
tags: ["Applications"]
---

# Remove a API resource role from application

`DELETE /api/applications/{applicationId}/roles/{roleId}`

Remove a API resource role from the specified application.

## Path parameters

- `applicationId` string, required
- `roleId` string, required

## Response `204`

The API resource role has been removed from the application successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Content

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/versions/a163dc77d842/schema)
