{ "sections": [ "title", "description", "fields", "special_access_rules", "wsdl_segment", "field_reference" ], "title": "OauthCustomScope - Data API", "description": "Represents a permission defining the protected data that a connected app can access from an external entity when Salesforce is the OAuth authorization provider.", "fields_columns": [ "type", "properties", "description" ], "fields": { "Description": { "type": "string", "properties": "Create, Filter, Group, Sort, Update", "description": "The description of the permission provided to the connected app by the scope. The custom scope’s description must be unique, can only include alphanumeric characters, and can be up to 60 characters long. You can enter a custom label in place of a description. An advantage of using a custom label is that you can maintain reusable text in a single location and translate the text into multiple languages. See Custom Labels. Note: The description formatting requirements that apply to custom scopes also apply to custom labels." }, "DeveloperName": { "type": "string", "properties": "Create, Filter, Group, Sort, Update", "description": "Use when referring to the OAuth custom scope from a program. This label must be unique, and can include only alphanumeric characters and underscores." }, "IsPublic": { "type": "boolean", "properties": "Create, Defaulted on create, Filter, Group, Sort, Update", "description": "Indicates whether the object is included in the connected app’s OpenID Connect discovery endpoint. For more information, see OpenID Connect Discovery Endpoint." }, "Language": { "type": "picklist", "properties": "Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update", "description": "Indicates the default language defined for the developing org." }, "MasterLabel": { "type": "string", "properties": "Create, Filter, Group, Sort, Update", "description": "The master label for the custom scope record. This label must be unique, and can include only alphanumeric characters and underscores." }, "NamespacePrefix": { "type": "string", "properties": "Filter, Group, Nillable, Sort", "description": "The namespace prefix for an OAuth custom scope that's been installed as part of a second-generation managed package. If the custom scope isn't packaged, this value is empty. This field is available in API version 61.0 and later." } }, "special_access_rules": "You must have the “Manage Connected Apps” permission to access this object.", "wsdl_segment": "```xml\n\n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n```", "field_reference": { "CreatedById": { "field_label": "Created By ID", "type": "reference", "length": "18" }, "CreatedDate": { "field_label": "Created Date", "type": "datetime" }, "Description": { "field_label": "Description", "type": "string", "length": "255" }, "DeveloperName": { "field_label": "Name", "type": "string", "length": "80" }, "Id": { "field_label": "Oauth Custom Scope ID", "type": "id", "length": "18" }, "IsDeleted": { "field_label": "Deleted", "type": "boolean" }, "IsPublic": { "field_label": "Include on well known endpoint", "type": "boolean" }, "Language": { "field_label": "Master Language", "type": "picklist", "length": "40" }, "LastModifiedById": { "field_label": "Last Modified By ID", "type": "reference", "length": "18" }, "LastModifiedDate": { "field_label": "Last Modified Date", "type": "datetime" }, "MasterLabel": { "field_label": "Label", "type": "string", "length": "80" }, "NamespacePrefix": { "field_label": "Namespace Prefix", "type": "string", "length": "15" }, "SystemModstamp": { "field_label": "System Modstamp", "type": "datetime" } }, "field_reference_columns": [ "field_label", "type", "length" ] }