SOAP API method Privileges_revoke

Back to API references

Description
Removes role/default rights.

Parameters
Parameter 'id' : string
Unique identifier (id) of the object Privileges. The method only applies to the privileges with this id.
Parameter 'privilege' : string
Type of privilege.
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'value' : boolean

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt