Previous Topic: Get Endpoint TypesNext Topic: Delete Account Request


Create Account Request

To create an account request, send the HTTP POST request to the following URL:

https://<host_name>:18443/iam/api/1.0/restapi/environments/ac/endpoints/<endpoint_name>/accounts/<account_name>/accountrequests
host_name

Specifies the host name.

endpoint_name

Specifies the endpoint name.

account_name

Specifies the account name.

The following example shows the HTTP body content to create an account request:

<AccountRequest>
<StartTime>Start_Time</StartTime>
<ValidUntilTime>Valid_Until_Time</ValidUntilTime>
<User>
<Name>user1</Name>
</User>
<Approver>
<User>
<Name>superadmin</Name>
</User>
</Approver>
<Justification>user1 requests</Justification>
</AccountRequest>
StartTime

Specifies the start time from when a requester user can perform shared account request tasks.

Enter the date in the following format:

yyyy-mm-ddThh:mm:sec
ValidUntilTime

Specifies the valid time, after which the user cannot perform shared account request tasks.

Enter the date in the following format:

yyyy-mm-ddThh:mm:sec
Name

Specifies the user name of the requester.

<Approver><User>Name

Specifies the user name of the approver.

Justification

Specifies the justification comments.