Add member to account group
This method adds an account as a member to an existing account group. The account can contain either a password or an SSH key. All members of an account group must be stored in the same Safe as the group itself.
To add an account as a member to an account group, users require the following permissions in the Safe where the group is created:
■ | Add accounts |
■ | Update account content |
■ | Update account properties |
URL
-
Make sure there are no spaces in the URL.
-
The following characters are not supported in URL values: + & %
-
If the URL includes a dot (.), add a forward slash (/) at the end of the URL. For example: api/Safes/MySafe/Members/user@cyber.com/
|
The following mandatory value is required in the URL:
Parameter |
GroupID |
Type |
String |
Description |
The unique ID of account group. |
Valid values |
Group ID |
Resource information
HTTP method |
POST |
Content type |
application/json |
Header parameter
Parameter |
Description |
---|---|
Authorization |
The token that identifies the session, encoded in BASE 64. See Authentication. Type: String Mandatory: Yes Default value: None |
Body parameters
{ |
Parameter |
AccountID (mandatory) |
Type |
String |
Description |
The ID of the account that will be added as a member to the group. |
Result
|