# Assign organization scopes to organization role **POST /api/organization-roles/{id}/scopes** Assign organization scopes to the specified organization role ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - OAuth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the organization role. ### Body: application/json (object) - **organizationScopeIds** (array[string]) An array of organization scope IDs to be assigned. Existed scope IDs assignments will be ignored. ## Responses ### 201 Organization scopes were assigned successfully. ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 422 At least one of the IDs provided is invalid. For example, the organization scope ID does not exist; [Powered by Bump.sh](https://bump.sh)