# Add organization application role **POST /api/organizations/{id}/applications/{applicationId}/roles** Add a role to the application in the organization. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **id** (string) The unique identifier of the organization. - **applicationId** (string) The unique identifier of the application. ## Body parameters Content-type: application/json - **organizationRoleIds** (array[string]) The role ID to add. ## Responses ### 201: The role was added successfully. ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 422: The role could not be added. Some of the roles may not exist. [Powered by Bump.sh](https://bump.sh)