New docs? Check out the change log to learn more!
curl --request PUT \
--url https://discord.com/api/v10/applications/{application_id}/role-connections/metadata \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"type": 123,
"key": "<string>",
"name": "<string>",
"description": "<string>",
"name_localizations": {},
"description_localizations": {}
}
]
'[
{
"type": 123,
"key": "<string>",
"name": "<string>",
"description": "<string>",
"name_localizations": {},
"description_localizations": {}
}
]curl --request PUT \
--url https://discord.com/api/v10/applications/{application_id}/role-connections/metadata \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"type": 123,
"key": "<string>",
"name": "<string>",
"description": "<string>",
"name_localizations": {},
"description_localizations": {}
}
]
'[
{
"type": 123,
"key": "<string>",
"name": "<string>",
"description": "<string>",
"name_localizations": {},
"description_localizations": {}
}
]Discord bot token
5the metadata value (integer) is less than or equal to the guild's configured value (integer)
1 - 501 - 1001 - 200Show child attributes
Show child attributes
200 response for update_application_role_connections_metadata
the metadata value (integer) is less than or equal to the guild's configured value (integer)
Show child attributes
Show child attributes