> For the complete documentation index, see [llms.txt](https://bump.sh/logto/doc/logto-management-api/llms.txt)

# Assign resource scopes to organization role

> POST /api/organization-roles/{id}/resource-scopes
> 
> Assign resource scopes to the specified organization role



## 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 role.



### Body: application/json (object)

- **scopeIds** (array[string])
  An array of resource scope IDs to be assigned. Existed scope IDs assignments will be ignored.



## Responses
### 201
Resource scopes were assigned successfully.

### 400
Bad Request

### 401
Unauthorized

### 403
Forbidden

### 422
At least one of the IDs provided is invalid. For example, the resource scope ID does not exist;


[Powered by Bump.sh](https://bump.sh)
