Skip to content

Commit 4d39d69

Browse files
authored
add DELETE /users/@me/applications/{application.id}/role-connection doc (#8348)
1 parent e63553e commit 4d39d69

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

developers/resources/user.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,3 +375,8 @@ Updates and returns the [application role connection](/developers/resources/user
375375
| platform_name? | string | the vanity name of the platform a bot has connected (max 50 characters) |
376376
| platform_username? | string | the username on the platform a bot has connected (max 100 characters) |
377377
| metadata? | object | object mapping [application role connection metadata](/developers/resources/application-role-connection-metadata#application-role-connection-metadata-object) keys to their `string`-ified value (max 100 characters) for the user on the platform a bot has connected |
378+
379+
## Delete Current User Application Role Connection
380+
<Route method="DELETE">/users/@me/applications/[\{application.id\}](/developers/resources/application#application-object)/role-connection</Route>
381+
382+
Deletes the [application role connection](/developers/resources/user#application-role-connection-object) for the user. Requires an OAuth2 access token with `role_connections.write` scope for the application specified in the path.

0 commit comments

Comments
 (0)