Back to API references

SOAP API method Privileges_grant

Description

Give role/default rigths.

Parameters

Name Type Description
id * string Unique identifier (id) of the object Privileges. The method only applies to the privileges with this id.
privilege string Type of privilege.
privilege Collection of type 'privilege' Type of privilege.
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
value boolean

Structure 'privilege'

Name Type Description
string

Structure 'login'

Name Type Description
username string The username of the login attempt
account string The account name of the login attempt
password string The password for the login attempt