Struct sendgrid_api::api_key_permissions::ApiKeyPermissions [−][src]
pub struct ApiKeyPermissions { pub client: Client, }
Fields
client: Client
Implementations
Retrieve a list of scopes for which this user has access.
This function performs a GET
to the /scopes
endpoint.
This endpoint returns a list of all scopes that this user has access to.
API Keys are used to authenticate with SendGrid’s v3 API.
API Keys may be assigned certain permissions, or scopes, that limit which API endpoints they are able to access.
This endpoint returns all the scopes assigned to the key you use to authenticate with it. To retrieve the scopes assigned to another key, you can pass an API key ID to the “Retrieve an existing API key” endpoint.
For a more detailed explanation of how you can use API Key permissions, please visit our API Keys documentation.
Parameters:
on_behalf_of: &str
– The license key provided with your New Relic account.