Create profile
    • PDF

    Create profile

    • PDF

    Article summary

    Create a profile.

    API

    • POST /profiles

    Request

    Body

    {
      "name": "string",
      "description": "string",
      "durationSeconds": integer,
      "enabled": boolean,
      "roleIdList": [
        "string"
      ]
    }
    

    Request fields

    ParameterRequiredTypeRestrictionsDescription
    nameYstringProfile name
    descriptionNstringProfile description
    durationSecondsNinteger3600 if not enteredTemporary credential duration (second)
    enabledNbooleanfalse if not enteredProfile activation status
    roleIdListNlistnull, [] creates a profile without an associated roleList of roleIds of roles this profile can use for temporary credentials

    Response

    Body

    {
      "profileId": "string",
      "profileNrn": "string",
      "name": "string",
      "description": "string",
      "enabled": boolean,
      "durationSeconds": integer,
      "roleNrnList": [
        "string"
      ],
      "createTime": "string",
      "updateTime": "string"
    }
    

    Response fields

    ItemTypeDescription
    profileIdstringProfile ID
    profileNrnstringProfile NRN
    namestringProfile name
    descriptionstringProfile description
    enabledbooleanProfile activation status
    durationSecondsintegerTemporary credential duration (second)
    roleNrnListlistList of roleNrns of roles this profile can use for temporary credentials
    createTimestringCreation time
    updateTimestringModification time

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.