application_modify_role_connection_metadata
Replace all role connection metadata for a Discord app with up to 5 new records. Removes any existing records not included, then returns the updated list and count.
Instructions
Purpose: Replace the application role-connection metadata records (max 5).
This is a wholesale replace - any existing record not in records is removed.
Returns: {records, count} after the update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Up to 5 metadata records - wholesale replace. | |
| application_id | Yes | Bot/app application ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||