Session-Based Permission Set Actions

Activate or deactivate a session-based permission set for the current user's API session.

This object is available in API version 40.0 and later.

This action activates or deactivates the provided permission set for the current user's API session. The activation or deactivation doesn't affect other sessions. The permission set must already be assigned to the current user.

Supported REST HTTP Methods

URIs:

  • Activate session-based permission set: /services/data/vXX.X/actions/standard/activateSessionPermSet
  • Deactivate session-based permission set: /services/data/vXX.X/actions/standard/deactivateSessionPermSet

Formats: JSON, XML

HTTP Methods: GET, HEAD, POST

Authentication: Authorization: Bearer token

Inputs

Input Type Description
PermSetName string Required. Specifies the developer name of the permission set.
PermSetNamespace string Optional. Specifies the namespace of the permission set.

Outputs

None.