Share via


Permissions object

Contains a list of scopes, showing those scopes to which the sign-in user has consented.

The response body contains a JavaScript Object Notation (JSON) object that lists all consented scopes as a name/value pair. Each scope to which the user consented is present as a key.

Valid object paths

  • /me/permissions

  • /USER_ID/permissions

Structures

None.

Example

The following is an example of a Permissions object. (For brevity, not all scopes are shown.)

{
   "data": [
        {         
            "wl.basic": 1,
            "wl.offline_access": 1,
            "wl.signin": 1,
            ...
        }
    ]
}

To get a Permissions object by using the Live SDK REST API, make a GET request to /me/permissions.

See also

REST objects