Skip to content
  • Auto
  • Light
  • Dark
Get Started

Create

Create
post/api/v1/iam/personal_clients

Create creates a new PersonalClient object for the current User.

Body Parameters
allowSourceCidrarray of string
optional

A list of CIDRs to restrict this credential to.

displayNamestring
optional

The display name for the new personal client.

expiresstring
optional
formatduration
scopedRolesarray of string
optional

The list of roles to restrict the credential to.

Returns
clientidstringallowSourceCidrarray of stringclientIdstringcreatedAtstringdeletedAtstringdisplayNamestringexpiresTimestringlastUsedAtstringscopedRolesarray of stringupdatedAtstringuserIdstringPersonalClient
optional

The PersonalClient message contains information about a presonal client credential.

clientSecretstring
optional

The client secret that corresponds to the personal client. Make sure to save this, because it cannot be returned or queried again.

Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/iam/personal_clients \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"
200 Example
{
  "client": {
    "allowSourceCidr": [
      "string"
    ],
    "displayName": "displayName",
    "expiresTime": "2019-12-27T18:11:19.117Z",
    "scopedRoles": [
      "string"
    ]
  },
  "clientSecret": "clientSecret"
}