API v9InterfacesAPIApplicationCommandPermissionVersion: 0.37.14On this pageAPIApplicationCommandPermission https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-structureIndex PropertiesidpermissiontypeProperties idid: stringThe id of the role, user or channel. Can also be a permission constantpermissionpermission: booleantrue to allow, false, to disallowtypetype: ApplicationCommandPermissionTypeRole, user or channel
https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-structure