Introduction

This is the NetFoundry identity service

Overview

HTTP verbs

NetFoundry adheres closely to standard HTTP and REST conventions in its use of HTTP verbs.

Verb Usage

GET

Used to retrieve a resource

POST

Used to create a new resource

PUT

Used to update an existing resource, full updates only

DELETE

Used to delete an existing resource

The PATCH method is not used (yet).

HTTP status codes

NetFoundry adheres closely to standard HTTP and REST conventions in its use of HTTP status codes.

Status code Usage

200 OK

The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request, the response will contain an entity describing or containing the result of the action.

201 Created

The request has been fulfilled and resulted in a new resource being created.

202 Accepted

The request has been accepted and is being processed asynchronously Standard response for successful HTTP requests which invoke back-end services.

204 No Content

The server successfully processed the request, but is not returning any content.

400 Bad Request

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

401 Unauthorized

The request lacks valid authentication credentials for the target resource.

403 Forbidden

The request is authenticated with valid credentials however that set of credentials is not authorized to access this resource.

404 Not Found

The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible.

Resources

Organization

Find Organizations

GET /organizations

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

name

String

true

active

Boolean

true

mfaProviders

Object

true

Must be one of [None, GoogleAuthenticator].

includeDeleted

Boolean

true

Default value: 'false'.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

name

String

true

Used for display purposes. Not unique or private.

io.netfoundry.common.util.validation.BasicPattern.

label

String

false

A short value, containing only letters, numbers and dashes, which could be used as a label in a vanity domain. This label uniquely identifies the Organization, and is the key by which organization users indicate the organization within which they intend to authenticate. Note: A deleted organization looses its label. Such organizations will have a label value that combines the organization id with the prior label value. This maintains the constraint that all organization labels are unique, and frees the prior organization label value for reclamation. Obviously a deleted organization’s label will no longer meet the validation constraints of a live organization label.

Must match the regular expression \p{Alnum}|\p{Alnum}[-\p{Alnum}]{0,61}\p{Alnum}.

identityProviders

Array[Object]

false

The set of active (not marked deleted nor deactivated) {@link IdentityProvider}s assigned to this Organization. It is possible for this set to be null. For access to inactive or deleted IdentityProviders, access the IdentityProvider API endpoint directly.

identityProviders[].id

String

false

identityProviders[].organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

identityProviders[].auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

identityProviders[].name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

identityProviders[].auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

identityProviders[].active

Boolean

true

identityProviders[].createdAt

Object

false

identityProviders[].updatedAt

Object

false

identityProviders[].deletedAt

Object

true

active

Boolean

true

mfaProvider

String

true

Specifies an Auth0 compliant MFA provider. When set, it will trigger MFA on authentication via Auth0. If null, then the organization does not require MFA.

Must be one of [None, GoogleAuthenticator].

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deleted

Boolean

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/organizations' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJjYlhXRXU2TUJheU5VLVpPTDBRWHVBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTMzLCJleHAiOjE2MDYyMzY3MzMsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCI5YTUxOWVhNS03ODgyLTRhY2ItYjJlMi0yZWViMzliYTIzN2FcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCJmMTZhODU3YS1jMTZlLTQ5ZWItOTk4NS1jOWFlMjViZjI4NzJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9LHtcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9LHtcImlkXCI6XCJjMzllODM1Mi04MmQ0LTQ1ZTItODdhZi04NWZmYWVjYjMyNzNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.ZEMq9h7gjHzj-_6bBwDJlLO18L-B_Nj-TFlNEzBkJKPJYjrqMaMJ6NWRyHvBQNji1wmuU2A2lwJZ1ai03XDnzR8uSW5ecZozAiFNZO60JFZbNnf_kNJDLIzFrnnAbsNTn14XbnMfVr_MARBM6A-xC55NcZZ37R_Qgh40JiwyfSuugwTMwXlNf0A3szCiTr3soGWHnIQy1iHR_LZTX7Nc3OsL3YuoiQUP-DAvHtJNVR-Qa0eqHr77Tcs8SZp6KOoB3txz3E989IbZ3uXlVgYUy-dXIz7P4jX9qLusFapU0sXZItb3Yx7Qtp3lYxVmqXYJ-jSNPgVoy6VKCvm9FUcCBQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2321

[ {
  "id" : "c011b83c-a593-4d52-bb4e-3c130e346e38",
  "name" : "MOP Services Identity Group",
  "label" : "MOP-Services",
  "identityProviders" : [ ],
  "active" : true,
  "mfaProvider" : "None",
  "createdAt" : {
    "nano" : 182390000,
    "epochSecond" : 1606233121
  },
  "updatedAt" : null,
  "deletedAt" : null,
  "deleted" : false
}, {
  "id" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "ACME International, Inc.",
  "label" : "ACME-0",
  "identityProviders" : [ {
    "id" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
    "auth0ConnectionId" : "auth0-opaque-connectionId-1",
    "name" : "ACME Federated Active Directory",
    "auth0ConnectionType" : "Enterprise",
    "active" : true,
    "createdAt" : {
      "nano" : 71143000,
      "epochSecond" : 1606233130
    },
    "updatedAt" : null,
    "deletedAt" : null
  }, {
    "id" : "d8624c35-29bd-4333-92ed-6a5d985f2577",
    "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
    "auth0ConnectionId" : "auth0-opaque-connectionId-2",
    "name" : "Google-Account",
    "auth0ConnectionType" : "Social",
    "active" : true,
    "createdAt" : {
      "nano" : 187099000,
      "epochSecond" : 1606233130
    },
    "updatedAt" : null,
    "deletedAt" : null
  } ],
  "active" : true,
  "mfaProvider" : "None",
  "createdAt" : {
    "nano" : 837894000,
    "epochSecond" : 1606233129
  },
  "updatedAt" : {
    "nano" : 976614000,
    "epochSecond" : 1606233132
  },
  "deletedAt" : null,
  "deleted" : false
}, {
  "id" : "cd33b48e-cdda-432e-a306-da91338d411b",
  "name" : "Best Corp.",
  "label" : "BEST-CORP",
  "identityProviders" : [ {
    "id" : "ef6853ee-ea6b-47c7-b0ee-fdce6e6db897",
    "organizationId" : "cd33b48e-cdda-432e-a306-da91338d411b",
    "auth0ConnectionId" : "auth0-opaque-connection",
    "name" : "Best Corp.",
    "auth0ConnectionType" : "Enterprise",
    "active" : true,
    "createdAt" : {
      "nano" : 486589000,
      "epochSecond" : 1606233131
    },
    "updatedAt" : null,
    "deletedAt" : null
  } ],
  "active" : true,
  "mfaProvider" : "None",
  "createdAt" : {
    "nano" : 474514000,
    "epochSecond" : 1606233131
  },
  "updatedAt" : {
    "nano" : 14767000,
    "epochSecond" : 1606233133
  },
  "deletedAt" : null,
  "deleted" : false
} ]

Get Organization By Id

GET /organizations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have read action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

name

String

true

Used for display purposes. Not unique or private.

io.netfoundry.common.util.validation.BasicPattern.

label

String

false

A short value, containing only letters, numbers and dashes, which could be used as a label in a vanity domain. This label uniquely identifies the Organization, and is the key by which organization users indicate the organization within which they intend to authenticate. Note: A deleted organization looses its label. Such organizations will have a label value that combines the organization id with the prior label value. This maintains the constraint that all organization labels are unique, and frees the prior organization label value for reclamation. Obviously a deleted organization’s label will no longer meet the validation constraints of a live organization label.

Must match the regular expression \p{Alnum}|\p{Alnum}[-\p{Alnum}]{0,61}\p{Alnum}.

identityProviders

Array[Object]

false

The set of active (not marked deleted nor deactivated) {@link IdentityProvider}s assigned to this Organization. It is possible for this set to be null. For access to inactive or deleted IdentityProviders, access the IdentityProvider API endpoint directly.

identityProviders[].id

String

false

identityProviders[].organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

identityProviders[].auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

identityProviders[].name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

identityProviders[].auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

identityProviders[].active

Boolean

true

identityProviders[].createdAt

Object

false

identityProviders[].updatedAt

Object

false

identityProviders[].deletedAt

Object

true

active

Boolean

true

mfaProvider

String

true

Specifies an Auth0 compliant MFA provider. When set, it will trigger MFA on authentication via Auth0. If null, then the organization does not require MFA.

Must be one of [None, GoogleAuthenticator].

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deleted

Boolean

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/32a7ee15-f92a-46b0-a497-85e36ca35acb' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2eVFZX2JfNmxrc2pHbERVNG8tYXZnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTMzLCJleHAiOjE2MDYyMzY3MzMsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCI5YTUxOWVhNS03ODgyLTRhY2ItYjJlMi0yZWViMzliYTIzN2FcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCJmMTZhODU3YS1jMTZlLTQ5ZWItOTk4NS1jOWFlMjViZjI4NzJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9LHtcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9LHtcImlkXCI6XCJjMzllODM1Mi04MmQ0LTQ1ZTItODdhZi04NWZmYWVjYjMyNzNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9LHtcImlkXCI6XCJiMmZiYTE2Ni1jNmYyLTRlZTgtYjJiNi0zMjM4ZTg3MzFjNThcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.Je213hLufL1MnaeQnuoE70kw-8x1mkHZDLG5VjClnsZL9GMB0ApWFtVkS943gqwd-i4HMFfw3vK9nAPPZSsDzvba1MmAcUvNj24VjOQ21wK4b1XWSXLIYpmwvqgopZh3OxYi2K-TAt6h4WwqcKyoaoh0u0Gj8br4oAkfYapdx6Zx0wRv59JcDbWHFJufZ8V54yANbhh90rB8IF1D563L7YuktubyHVV7-iyX6gb836rJr0zFfOSr9pBVUkMfwOcIDBDzjda4e4t2ihNlbkG43mlYN6EEEV1PpPzehsYSvm9KhjC-dZbXSNWKPy4j_fdzF8LJlYwiiXJar-9KEHEkzQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1206

{
  "id" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "ACME International, Inc.",
  "label" : "ACME-0",
  "identityProviders" : [ {
    "id" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
    "auth0ConnectionId" : "auth0-opaque-connectionId-1",
    "name" : "ACME Federated Active Directory",
    "auth0ConnectionType" : "Enterprise",
    "active" : true,
    "createdAt" : {
      "nano" : 71143000,
      "epochSecond" : 1606233130
    },
    "updatedAt" : null,
    "deletedAt" : null
  }, {
    "id" : "d8624c35-29bd-4333-92ed-6a5d985f2577",
    "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
    "auth0ConnectionId" : "auth0-opaque-connectionId-2",
    "name" : "Google-Account",
    "auth0ConnectionType" : "Social",
    "active" : true,
    "createdAt" : {
      "nano" : 187099000,
      "epochSecond" : 1606233130
    },
    "updatedAt" : null,
    "deletedAt" : null
  } ],
  "active" : true,
  "mfaProvider" : "None",
  "createdAt" : {
    "nano" : 837894000,
    "epochSecond" : 1606233129
  },
  "updatedAt" : {
    "nano" : 976614000,
    "epochSecond" : 1606233132
  },
  "deletedAt" : null,
  "deleted" : false
}

Get Organization By Label

GET /organizations/label/{label:[-a-zA-Z0-9]{1,63}}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

label

String

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

name

String

true

Used for display purposes. Not unique or private.

io.netfoundry.common.util.validation.BasicPattern.

label

String

false

A short value, containing only letters, numbers and dashes, which could be used as a label in a vanity domain. This label uniquely identifies the Organization, and is the key by which organization users indicate the organization within which they intend to authenticate. Note: A deleted organization looses its label. Such organizations will have a label value that combines the organization id with the prior label value. This maintains the constraint that all organization labels are unique, and frees the prior organization label value for reclamation. Obviously a deleted organization’s label will no longer meet the validation constraints of a live organization label.

Must match the regular expression \p{Alnum}|\p{Alnum}[-\p{Alnum}]{0,61}\p{Alnum}.

identityProviders

Array[Object]

false

The set of active (not marked deleted nor deactivated) {@link IdentityProvider}s assigned to this Organization. It is possible for this set to be null. For access to inactive or deleted IdentityProviders, access the IdentityProvider API endpoint directly.

identityProviders[].id

String

false

identityProviders[].organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

identityProviders[].auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

identityProviders[].name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

identityProviders[].auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

identityProviders[].active

Boolean

true

identityProviders[].createdAt

Object

false

identityProviders[].updatedAt

Object

false

identityProviders[].deletedAt

Object

true

active

Boolean

true

mfaProvider

String

true

Specifies an Auth0 compliant MFA provider. When set, it will trigger MFA on authentication via Auth0. If null, then the organization does not require MFA.

Must be one of [None, GoogleAuthenticator].

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deleted

Boolean

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/label/ACME-0' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJQUlltVFhXeXEyanU4Wk4xQXFaX3R3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTMyLCJleHAiOjE2MDYyMzY3MzIsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9LHtcImlkXCI6XCJjMzllODM1Mi04MmQ0LTQ1ZTItODdhZi04NWZmYWVjYjMyNzNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.YHy11blsv4sT-5PclraMnKmNu2fNcaZyQsLf8rQRHaYjg33yeF5K08-LDR4Hxsh7DeJ7QfCXzeOAsvyoclduHYBW_vpnPdq_Jvohwa6wNU7GPx-FrRajyGQGHR5CCg-Y4aWV3_iRkFZtWGDnqKN74LjFLQv2-qjVTn7zfBnwx2ry1Ok4WdhYdpbsdR3J084va5x6ainh6Ua9nP05B79cj-2ZBq0NZ4v6p88grBnMtvXNxi2SbVp195MEQAPSd0gxmyK4Bxp8WagWaCN-PYxI8AXDY4IpdLRnhDI3Vu-iRm0JwMo2XHKQbHh5wO5u_XXoL12bHd4736X2FAAQN5OZvg'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1148

{
  "id" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "ACME International, Inc.",
  "label" : "ACME-0",
  "identityProviders" : [ {
    "id" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
    "auth0ConnectionId" : "auth0-opaque-connectionId-1",
    "name" : "ACME Federated Active Directory",
    "auth0ConnectionType" : "Enterprise",
    "active" : true,
    "createdAt" : {
      "nano" : 71143000,
      "epochSecond" : 1606233130
    },
    "updatedAt" : null,
    "deletedAt" : null
  }, {
    "id" : "d8624c35-29bd-4333-92ed-6a5d985f2577",
    "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
    "auth0ConnectionId" : "auth0-opaque-connectionId-2",
    "name" : "Google-Account",
    "auth0ConnectionType" : "Social",
    "active" : true,
    "createdAt" : {
      "nano" : 187099000,
      "epochSecond" : 1606233130
    },
    "updatedAt" : null,
    "deletedAt" : null
  } ],
  "active" : true,
  "mfaProvider" : null,
  "createdAt" : {
    "nano" : 837894000,
    "epochSecond" : 1606233129
  },
  "updatedAt" : null,
  "deletedAt" : null,
  "deleted" : false
}

Create Organization

POST /organizations

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

label

String

true

io.netfoundry.common.util.validation.ValidAs.

auth0ConnectionId

String

true

io.netfoundry.common.util.validation.ValidAs.

identityProviderName

String

true

io.netfoundry.common.util.validation.ValidAs.

auth0ConnectionType

String

true

io.netfoundry.common.util.validation.ValidAs.
Must be one of [Database, Social, Enterprise, Passwordless].

Response fields

Path Type Optional Description

id

String

false

name

String

true

Used for display purposes. Not unique or private.

io.netfoundry.common.util.validation.BasicPattern.

label

String

false

A short value, containing only letters, numbers and dashes, which could be used as a label in a vanity domain. This label uniquely identifies the Organization, and is the key by which organization users indicate the organization within which they intend to authenticate. Note: A deleted organization looses its label. Such organizations will have a label value that combines the organization id with the prior label value. This maintains the constraint that all organization labels are unique, and frees the prior organization label value for reclamation. Obviously a deleted organization’s label will no longer meet the validation constraints of a live organization label.

Must match the regular expression \p{Alnum}|\p{Alnum}[-\p{Alnum}]{0,61}\p{Alnum}.

identityProviders

Array[Object]

false

The set of active (not marked deleted nor deactivated) {@link IdentityProvider}s assigned to this Organization. It is possible for this set to be null. For access to inactive or deleted IdentityProviders, access the IdentityProvider API endpoint directly.

identityProviders[].id

String

false

identityProviders[].organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

identityProviders[].auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

identityProviders[].name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

identityProviders[].auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

identityProviders[].active

Boolean

true

identityProviders[].createdAt

Object

false

identityProviders[].updatedAt

Object

false

identityProviders[].deletedAt

Object

true

active

Boolean

true

mfaProvider

String

true

Specifies an Auth0 compliant MFA provider. When set, it will trigger MFA on authentication via Auth0. If null, then the organization does not require MFA.

Must be one of [None, GoogleAuthenticator].

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deleted

Boolean

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/organizations' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJLZUpDZ0JhRGhXLVk5cE9OV3VrZWhBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTMwLCJleHAiOjE2MDYyMzY3MzAsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.IpwHz73mYISVDYJtajlXJ8rsSRDiDhAELrHaK96qv0Gt7Ym2w-MUNoJmYRm6NF9Nkqi2yP-zPKk-3E08uspnhS6OvTHCl3CppFScd9LAV9ykJ1deP8T6I6ZrHeuWHwdIUJ1AWHXavo_iqxK9NC9OlRP-_5XLlnPFXB1RW6fENMhXu_rZ-GxA1y21NoGrV_byS2HzTgOyGpDKEIibQzu97KfRZxr5halfGHpGcVnPVSRJQK3BNzWxZcw05trazwqbvz0eotgqZVKv-CL9eDKvyfl9_aRue_kNUa-U0HjeSr-21xQMmCRomR9qQILLivGoTP6PBH5CohPo1EioufMl9Q' \
    -d '{"name":"Best Corp.","label":"BEST-CORP","auth0ConnectionId":"auth0-opaque-connection","identityProviderName":"Corp SAML","auth0ConnectionType":"Enterprise"}'

Example response

HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 712

{
  "id" : "cd33b48e-cdda-432e-a306-da91338d411b",
  "name" : "Best Corp.",
  "label" : "BEST-CORP",
  "identityProviders" : [ {
    "id" : "ef6853ee-ea6b-47c7-b0ee-fdce6e6db897",
    "organizationId" : "cd33b48e-cdda-432e-a306-da91338d411b",
    "auth0ConnectionId" : "auth0-opaque-connection",
    "name" : "Best Corp.",
    "auth0ConnectionType" : "Enterprise",
    "active" : true,
    "createdAt" : {
      "nano" : 486589000,
      "epochSecond" : 1606233131
    },
    "updatedAt" : null,
    "deletedAt" : null
  } ],
  "active" : true,
  "mfaProvider" : null,
  "createdAt" : {
    "nano" : 474514000,
    "epochSecond" : 1606233131
  },
  "updatedAt" : null,
  "deletedAt" : null,
  "deleted" : false
}

Activate Or Deactivate Organization

PUT /organizations/{id}/{action:activate|deactivate}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have update-active action on the annotated resource.

action

String

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

name

String

true

Used for display purposes. Not unique or private.

io.netfoundry.common.util.validation.BasicPattern.

label

String

false

A short value, containing only letters, numbers and dashes, which could be used as a label in a vanity domain. This label uniquely identifies the Organization, and is the key by which organization users indicate the organization within which they intend to authenticate. Note: A deleted organization looses its label. Such organizations will have a label value that combines the organization id with the prior label value. This maintains the constraint that all organization labels are unique, and frees the prior organization label value for reclamation. Obviously a deleted organization’s label will no longer meet the validation constraints of a live organization label.

Must match the regular expression \p{Alnum}|\p{Alnum}[-\p{Alnum}]{0,61}\p{Alnum}.

identityProviders

Array[Object]

false

The set of active (not marked deleted nor deactivated) {@link IdentityProvider}s assigned to this Organization. It is possible for this set to be null. For access to inactive or deleted IdentityProviders, access the IdentityProvider API endpoint directly.

identityProviders[].id

String

false

identityProviders[].organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

identityProviders[].auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

identityProviders[].name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

identityProviders[].auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

identityProviders[].active

Boolean

true

identityProviders[].createdAt

Object

false

identityProviders[].updatedAt

Object

false

identityProviders[].deletedAt

Object

true

active

Boolean

true

mfaProvider

String

true

Specifies an Auth0 compliant MFA provider. When set, it will trigger MFA on authentication via Auth0. If null, then the organization does not require MFA.

Must be one of [None, GoogleAuthenticator].

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deleted

Boolean

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/893c7380-1be9-4f46-9161-f9d491ce3c0b/deactivate' -i -X PUT \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJ5bnZlNjh4WVdjczIybGNYN2YxLU93IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTM0LCJleHAiOjE2MDYyMzY3MzQsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCI5YTUxOWVhNS03ODgyLTRhY2ItYjJlMi0yZWViMzliYTIzN2FcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCJmMTZhODU3YS1jMTZlLTQ5ZWItOTk4NS1jOWFlMjViZjI4NzJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9LHtcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9LHtcImlkXCI6XCI1YmQxNDJjNS1lYWZkLTQ1YzktOTdjMy1kMTIxY2IyZTVhMzVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJiOTIzNjMwMS00MDI5LTQ3NzEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJjMzllODM1Mi04MmQ0LTQ1ZTItODdhZi04NWZmYWVjYjMyNzNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9LHtcImlkXCI6XCJiMmZiYTE2Ni1jNmYyLTRlZTgtYjJiNi0zMjM4ZTg3MzFjNThcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCJmOGMxNjM1Zi1jODAzLTRhZjUtOTkzMC0wMTc2ZWM1YjQ4NWFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.ceAXfL5uPVecNNFahJPSwPQ28upv_nZQkMuzIsUPxVbSYJy7kkXumfJFuMG2ynX03c2G5-Q1IQph1pMwR1S-4eEv5eOnDaVZvrmfWkrQsQJLiDgl1hjDlNP_G_xqdYjfosXZWVPDpv3rT-apYQgq9fxIn-B8IZjJyPj5py5-aUJdRLOB1fJqOqmn49iPxMVtM4DPAv9t6xUaarKQLInvB6xC609Kzwu-JI7NCD8jFkXYwz19UF8m1IuLtDVVJGWd49hKPX3Og6_iVJeCGpKsEFGAxHDZ2wrgV1dbxp70gXcLbJWxH-ybw4KA-UM0mf0suhH93fB3yc_alnRTJsRWyQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 791

{
  "id" : "893c7380-1be9-4f46-9161-f9d491ce3c0b",
  "name" : "World Wide Imports",
  "label" : "WW-Imports-13",
  "identityProviders" : [ {
    "id" : "226c850a-1eb5-4dc8-8505-7439e3b4f616",
    "organizationId" : "893c7380-1be9-4f46-9161-f9d491ce3c0b",
    "auth0ConnectionId" : "auth0-opaque-connectionId-14",
    "name" : "Username/Password",
    "auth0ConnectionType" : "Database",
    "active" : true,
    "createdAt" : {
      "nano" : 963458000,
      "epochSecond" : 1606233134
    },
    "updatedAt" : null,
    "deletedAt" : null
  } ],
  "active" : false,
  "mfaProvider" : null,
  "createdAt" : {
    "nano" : 935636000,
    "epochSecond" : 1606233134
  },
  "updatedAt" : {
    "nano" : 277419000,
    "epochSecond" : 1606233135
  },
  "deletedAt" : null,
  "deleted" : false
}

Add Identity Provider (deprecated)

POST /organizations/{id}/identity-providers

Deprecated.

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have create-identity-provider action on the annotated resource.

Query parameters

No parameters.

Request fields

Path Type Optional Description

auth0ConnectionId

String

true

io.netfoundry.common.util.validation.ValidAs.

identityProviderName

String

true

io.netfoundry.common.util.validation.ValidAs.

auth0ConnectionType

String

true

io.netfoundry.common.util.validation.ValidAs.
Must be one of [Database, Social, Enterprise, Passwordless].

Response fields

Path Type Optional Description

id

String

false

name

String

true

Used for display purposes. Not unique or private.

io.netfoundry.common.util.validation.BasicPattern.

label

String

false

A short value, containing only letters, numbers and dashes, which could be used as a label in a vanity domain. This label uniquely identifies the Organization, and is the key by which organization users indicate the organization within which they intend to authenticate. Note: A deleted organization looses its label. Such organizations will have a label value that combines the organization id with the prior label value. This maintains the constraint that all organization labels are unique, and frees the prior organization label value for reclamation. Obviously a deleted organization’s label will no longer meet the validation constraints of a live organization label.

Must match the regular expression \p{Alnum}|\p{Alnum}[-\p{Alnum}]{0,61}\p{Alnum}.

identityProviders

Array[Object]

false

The set of active (not marked deleted nor deactivated) {@link IdentityProvider}s assigned to this Organization. It is possible for this set to be null. For access to inactive or deleted IdentityProviders, access the IdentityProvider API endpoint directly.

identityProviders[].id

String

false

identityProviders[].organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

identityProviders[].auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

identityProviders[].name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

identityProviders[].auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

identityProviders[].active

Boolean

true

identityProviders[].createdAt

Object

false

identityProviders[].updatedAt

Object

false

identityProviders[].deletedAt

Object

true

active

Boolean

true

mfaProvider

String

true

Specifies an Auth0 compliant MFA provider. When set, it will trigger MFA on authentication via Auth0. If null, then the organization does not require MFA.

Must be one of [None, GoogleAuthenticator].

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deleted

Boolean

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/288c7515-9406-4f7b-aea3-63acac03f573/identity-providers' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiItRExpY0xNdTV5dk8xR255T3d6SlRnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTM0LCJleHAiOjE2MDYyMzY3MzQsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCI5YTUxOWVhNS03ODgyLTRhY2ItYjJlMi0yZWViMzliYTIzN2FcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCJmMTZhODU3YS1jMTZlLTQ5ZWItOTk4NS1jOWFlMjViZjI4NzJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9LHtcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9LHtcImlkXCI6XCI1YmQxNDJjNS1lYWZkLTQ1YzktOTdjMy1kMTIxY2IyZTVhMzVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJjMzllODM1Mi04MmQ0LTQ1ZTItODdhZi04NWZmYWVjYjMyNzNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9LHtcImlkXCI6XCJiMmZiYTE2Ni1jNmYyLTRlZTgtYjJiNi0zMjM4ZTg3MzFjNThcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.T7VP4xidvzFeTyUx8-TNBpnHzqTYbNO-WihX9v3jj8PJu50Nx97Wzy41ck63cLc9a8cW3v4P9uzD1_vHwrxt92GXtsQst_28PQiBhr9NV-cCEveRe9v_TgvP807Fc5RQCB5EOXIaSU78bueTPxPvUps0Ghr2AtLWQsU0_JwvzgJPuo6BQx8BVYQT4IN6IusPjNWllzplFfvlC59YbnMFaGn8k2CzJ6oh4l9ojBKbxjyKB7sKj9qARoxeiyEbj3RmsHOM7QUXev9Pi0LsJ289Lia4ipWaRCM7uJf30OBzEb33rM6MWjtjVfMFQWGSoXZM1ibrVmD9AlS4hYUdX2X66Q' \
    -d '{"auth0ConnectionId":"auth0-opaque-connection","identityProviderName":"Corp SAML","auth0ConnectionType":"Enterprise"}'

Example response

HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 1130

{
  "id" : "288c7515-9406-4f7b-aea3-63acac03f573",
  "name" : "World Wide Imports",
  "label" : "WW-Imports-11",
  "identityProviders" : [ {
    "id" : "b3d9a38a-effa-464e-960a-231e3b45d782",
    "organizationId" : "288c7515-9406-4f7b-aea3-63acac03f573",
    "auth0ConnectionId" : "auth0-opaque-connectionId-12",
    "name" : "Username/Password",
    "auth0ConnectionType" : "Database",
    "active" : true,
    "createdAt" : {
      "nano" : 166169000,
      "epochSecond" : 1606233134
    },
    "updatedAt" : null,
    "deletedAt" : null
  }, {
    "id" : "b452390b-58de-4de6-82bd-c58beead12e0",
    "organizationId" : "288c7515-9406-4f7b-aea3-63acac03f573",
    "auth0ConnectionId" : "auth0-opaque-connection",
    "name" : "Corp SAML",
    "auth0ConnectionType" : "Enterprise",
    "active" : true,
    "createdAt" : {
      "nano" : 365263000,
      "epochSecond" : 1606233134
    },
    "updatedAt" : null,
    "deletedAt" : null
  } ],
  "active" : true,
  "mfaProvider" : null,
  "createdAt" : {
    "nano" : 155773000,
    "epochSecond" : 1606233134
  },
  "updatedAt" : null,
  "deletedAt" : null,
  "deleted" : false
}

Identity Providers

Find Identity Providers

GET /identity-providers

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

name

String

true

organizationId

Object

true

auth0ConnectionId

Object

true

auth0ConnectionType

Object

true

Must be one of [Database, Social, Enterprise, Passwordless].

active

Boolean

true

deleted

Object

true

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJrWFdNX3k0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cPGL1241Y1i2-8zQAG2yrJCrvAZj_9hvJNklNfEexMKaksrVU5Pj7SCzZYfE7M3o4iLrcZq-gxWi08S5_CdF-p991dxlTd-6xMa6z1a2L73UqQcyFDu0QXGrN54f7vUEygNug6_CVcLHmSvT5UqxDeolKXW4qBE1yhEi7RTiEfRjzr9ZF-353pCMcXwkUwtXZdfiOp7Uj2E2zcwmjRRXqc7Z9GJZU_k0qQiOpprrd1EUg'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1143

[ {
  "id" : "40dc4eec-fb96-4851-b613-b916b9f57119",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ConnectionId" : "auth0-opaque-connectionId-1",
  "name" : "ACME Federated Active Directory",
  "auth0ConnectionType" : "Enterprise",
  "active" : true,
  "createdAt" : {
    "nano" : 71143000,
    "epochSecond" : 1606233130
  },
  "updatedAt" : null,
  "deletedAt" : null
}, {
  "id" : "d8624c35-29bd-4333-92ed-6a5d985f2577",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ConnectionId" : "auth0-opaque-connectionId-2",
  "name" : "Google-Account",
  "auth0ConnectionType" : "Social",
  "active" : true,
  "createdAt" : {
    "nano" : 187099000,
    "epochSecond" : 1606233130
  },
  "updatedAt" : null,
  "deletedAt" : null
}, {
  "id" : "ef6853ee-ea6b-47c7-b0ee-fdce6e6db897",
  "organizationId" : "cd33b48e-cdda-432e-a306-da91338d411b",
  "auth0ConnectionId" : "auth0-opaque-connection",
  "name" : "Best Corp.",
  "auth0ConnectionType" : "Enterprise",
  "active" : true,
  "createdAt" : {
    "nano" : 486589000,
    "epochSecond" : 1606233131
  },
  "updatedAt" : null,
  "deletedAt" : null
} ]

Get Identity Provider

GET /identity-providers/{id}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have read action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/40dc4eec-fb96-4851-b613-b916b9f57119' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0MUl3cDNNX3dYcUZoV0NJWUxaWE9nIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjMzLCJleHAiOjE2MDYyMzY4MzMsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCIyYzk2NmFjMS05NTVmLTQ5ZjUtYjk2Ni02ODBiZDFkMWM3MGNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjd9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCJjNjExZGEyMC01MDM0LTRiZjMtYjcwZC0zMTU5YWU1NzAxMzdcIixcImxhc3RNb2RpZmllZFwiOj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y1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.TuMzL1eXnot8zzyWFUs1sDAsqhMpPspdz33b-I8qKcg28vDIrPkVj7DLHfiOoTJ-iGacsw5ptbV_rnGyGlXR_gjhhkjaIqWn7PXsz0smLK9o8BPux31vLjSE3cLg-9gvvquhw1Y0S99JajCanNHVOm9xS03H4IfJvLEmyyGQQzv-VUEXb0xtNok7Ukb9u2XurPQ6Rp56HcBpqmhWyVvEJ0y350gPA8wUT-T26pqVSWBwHNp0_hrnSRio0cIMfCp4jAMJeWCm1AQD1vYdKZ0IBdCRf3_FlhKo1HlkPOvonaELI3J4rVrlp5JRump_CPJ9uAOFkWsZWdJWKDv8IQbdBA'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 393

{
  "id" : "40dc4eec-fb96-4851-b613-b916b9f57119",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ConnectionId" : "auth0-opaque-connectionId-1",
  "name" : "ACME Federated Active Directory",
  "auth0ConnectionType" : "Enterprise",
  "active" : true,
  "createdAt" : {
    "nano" : 71143000,
    "epochSecond" : 1606233130
  },
  "updatedAt" : null,
  "deletedAt" : null
}

Create Identity Provider

POST /identity-providers

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

organizationId

String

true

Client must have create action under the annotated resource.

auth0ConnectionId

String

true

name

String

true

auth0ConnectionType

String

true

Must be one of [Database, Social, Enterprise, Passwordless].

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2ZUpsNkZ4aVRhQUhaWktuS0xZeHpRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjMyLCJleHAiOjE2MDYyMzY4MzIsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCIyYzk2NmFjMS05NTVmLTQ5ZjUtYjk2Ni02ODBiZDFkMWM3MGNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjd9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCJjNjExZGEyMC01MDM0LTRiZjMtYjcwZC0zMTU5YWU1NzAxMzdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMTl9LHtcImlkXCI6XCJmNjI3Mzk4Ny1hZDkxLTRiNTItODdiMC0zM2MyNjM0ZjQ0NjJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjh9LHtcImlkXCI6XCIyYzFmZGM3ZC1jMDhiLTRlZTgtYjE1ZS03OGY2ZmU2MDE2YzBcIixcImxhc3RNb2Rp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9rvATrvjxamf3H1tMolPjlf21PzaEj2c9UfhToU87U4Cu6xetqyW95_LIxDEAOm_MAtmni09-Tn3povJegk7oI37MMzLbpXL_nL6LVhwdcZZ9Q' \
    -d '{"organizationId":"40da0074-1d1c-4b4a-93b8-539afc216d12","auth0ConnectionId":"auth0-opaque-connection","name":"Corp SAML","auth0ConnectionType":"Enterprise"}'

Example response

HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368

{
  "id" : "b40890fc-6a29-47ab-8376-a49f5e075247",
  "organizationId" : "40da0074-1d1c-4b4a-93b8-539afc216d12",
  "auth0ConnectionId" : "auth0-opaque-connection",
  "name" : "Corp SAML",
  "auth0ConnectionType" : "Enterprise",
  "active" : true,
  "createdAt" : {
    "nano" : 893091000,
    "epochSecond" : 1606233233
  },
  "updatedAt" : null,
  "deletedAt" : null
}

Update Identity Provider

PUT /identity-providers/{id}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have update action on the annotated resource.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/de102f33-d1ca-431a-970f-e2473d19716b' -i -X PUT \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJqY3p5UXlROEF4dHBXREE2OUFTTGZRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZj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Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.MOERX9o4TYWCb90VsOghQB5ZK4QqbFfEFx5GuxHwiSYaldGYvlWf0dY8IAfvvf9xNHoXLIh--njDQO4zKmyE5LhGvXDVzLfNGZeUSdeh2y3m0NE5P2sb0VrsM9scSyjlFrpa6cR0rIFBBr8lsjios091prMOaKxSHKFUVTQHoohbLZtpc-0Zi_JwDxMp7BfzlMLY_2LCP_vGZa_q84L_wnyfZ8XzfgTKI5lkEUOmLD7gP5CPyR65yOqMORUSpAQ-VEAewh4JIo6108YdZ32nSV4_MJMk0cdq43Gk-5TbMRTDHixENoWV1kwXxl5ookzl8zxR-15w2Y1qPO8cVGyR9Q' \
    -d '{"name":"New IdP Name"}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430

{
  "id" : "de102f33-d1ca-431a-970f-e2473d19716b",
  "organizationId" : "6c993fad-01f0-4c8a-825c-e0cb9a6b463f",
  "auth0ConnectionId" : "auth0-opaque-connectionId-98",
  "name" : "New IdP Name",
  "auth0ConnectionType" : "Database",
  "active" : true,
  "createdAt" : {
    "nano" : 571796000,
    "epochSecond" : 1606233236
  },
  "updatedAt" : {
    "nano" : 570236000,
    "epochSecond" : 1606233237
  },
  "deletedAt" : null
}

Activate Or Deactivate Identity Provider

PUT /identity-providers/{id}/{action:activate|deactivate}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have update action on the annotated resource.

action

String

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/86b7559d-3324-4269-862c-c0847de10acd/activate' -i -X PUT \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJWUkNRX203bWs5ZFJFb1lQRDVzaDZRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjM0LCJleHAiOjE2MDYyMzY4MzQsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCIyYzk2NmFjMS05NTVmLTQ5ZjUtYjk2Ni02ODBiZDFkMWM3MGNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjd9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCJjNjExZGEyMC01MDM0LTRiZjMtYjcwZC0zMTU5YWU1NzAxMzdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMTl9LHtcImlkXCI6XCJmNjI3Mzk4Ny1hZDkxLTRiNTItODdiMC0zM2MyNjM0ZjQ0NjJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjh9LHtcImlkXCI6XCIyYzFmZGM3ZC1jMDhiLTRlZTgtYjE1ZS03OGY2ZmU2MDE2YzBcIixcImxhc3RNb2RpZmllZFwiOjE2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v_hQFZN8TuhlJbvoAYrEr5VmWRlzMqEZyKN8EZiPCrog4MYr3NWhnRbhHHYtznAOYU6yTXHX1Jq2iyRSK-TAHlbeBLDmZwOz4VLA0JG5m48Y-GiWoPi_jc25nIAuuzWW65BOUbPTY2axTgvue0sNXc1JLE2VK3nUSyPQM6TQKme8yjnq5WprsDN70Ys-Z82vWmRdqTFm61ioonV_zMQBU9-ogkKxHvVAX1vu49dm9_jHmvbhvHn2eqxrKGYlpleqpH0II5rI-BfLDtXzFN9d84vwDmPoHWgST8VabpbZ_6DjZiPHgAlZhQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 379

{
  "id" : "86b7559d-3324-4269-862c-c0847de10acd",
  "organizationId" : "6b972ded-a6c5-498c-ab4c-d32649f5bc8a",
  "auth0ConnectionId" : "auth0-opaque-connectionId-94",
  "name" : "Username/Password",
  "auth0ConnectionType" : "Database",
  "active" : true,
  "createdAt" : {
    "nano" : 794952000,
    "epochSecond" : 1606233234
  },
  "updatedAt" : null,
  "deletedAt" : null
}

Delete Identity Provider

DELETE /identity-providers/{id}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have delete action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

The id of the {@link Organization} that this provider will authenticate users into.

auth0ConnectionId

String

false

The auth0 generated id of the auth0 connection that this IdentityProvider represents.

Size must be between 1 and 128 inclusive.

name

String

false

Used for display purposes. Not unique or private.

Size must be between 1 and 128 inclusive.

auth0ConnectionType

String

false

Must be one of [Database, Social, Enterprise, Passwordless].

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/205b5f27-ff76-48e8-a014-572ee5d7fb75' -i -X DELETE \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ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YW50cy1zdGFuZGFyZCI6IltdIn0.RXpxYOzCwKY3czlb_OfCq-LT_BB2Ln8mHEylhl4-gB3ERM9x2TwnaGS4QlUi5AdLVEzz5r-x0AxzDZLgPciwTksiM1x4JOioKusGG5vvHD0Xs-Q7SAn7eO6qCBS6N3w8phvGrMtNJxuwPKDn4x939wIx0hdjP40IJ0u1p7WCTHzdYJqrARp5eqRXOjcoPP5rbEVGjXDlBX1oZMJkfvRAjfQ2pwzosBV7nUCN47hp7Gx-zV3BS0JU0nbMSNduG66HTd89-qUBYKA-S2BrZg5Kbd7Yr_Jh-ma2CexAcjNh9q5zLWNl-UHC_CdSW8u1ogVAShdOIVdMKfagY9-rl_apUw'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 491

{
  "id" : "205b5f27-ff76-48e8-a014-572ee5d7fb75",
  "organizationId" : "70746d21-a12a-4d78-9b59-aa78b56da97b",
  "auth0ConnectionId" : "auth0-opaque-connectionId-96",
  "name" : "Username/Password",
  "auth0ConnectionType" : "Database",
  "active" : true,
  "createdAt" : {
    "nano" : 558148000,
    "epochSecond" : 1606233235
  },
  "updatedAt" : {
    "nano" : 457939000,
    "epochSecond" : 1606233236
  },
  "deletedAt" : {
    "nano" : 457000000,
    "epochSecond" : 1606233236
  }
}

User Identity

Find User Identities

GET /user-identities

Returns a set of {@link UserIdentity}s that are visible to the requesting client and optionally filtered based on the submitted request parameters.

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

tenantId

Object

true

Deprecated..

organizationId

Object

true

Restricts results to Identities in the specified Organization (by Organization’s id.).

identityProviderId

Object

true

firstName

String

true

lastName

String

true

email

String

true

active

Boolean

true

Restricts results to Identities with a matching active status.

includeDeleted

Boolean

true

Default value: 'false'.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

organizationId

String

false

firstName

String

true

Size must be between 0 and 128 inclusive.

lastName

String

true

Size must be between 1 and 128 inclusive.

email

String

false

Size must be between 6 and 254 inclusive.

identityMappings

Array[Object]

false

identityMappings[].id

String

false

identityMappings[].auth0UserId

String

false

Size must be between 4 and 256 inclusive.

identityMappings[].identityProviderId

String

false

identityMappings[].userIdentityId

String

false

active

Boolean

true

createdAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

name

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJZcmdhR056QTFjbEtlT2hjQ3NmcF9RIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTM3LCJleHAiOjE2MDYyMzY3MzcsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCJkMGNiMDllOC05YjkxLTRkYjAtOTA5Mi05OGViOWJiYjM4ZDZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJjMzllODM1Mi04MmQ0LTQ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YjdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.V-ag-WSzCx_xmRC-KD3pljAa2TGIYga33QWKb1nAuLCYxlLiXZAylFjCp_EWDX4sori3yjpgeemurSGNaLqYtNEahUBQjVeL797GbUrhhPxTsD0eqr3tvPAs0TwcR7_-Yw0tXrnUMLPNI4bs43b64CGXZda-VoC7evgD8r_eF7QVj6mgmWC7D4dfQBbTKzDtVXPwktSoBMh_mU7nHxmSrmrPfuCiOGvz7PZ1QraIO0g6hKsYb6W9XFDu9OzlV_ZTSQ4yea3cxBLHVZ6jt-ni8p8fslWgqaQL52HxrRO_7j94MAE_Ntv8LAGlNmd13AQJF45oES7CnDNJnB_VZUfwYg'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2317

[ {
  "id" : "474044d7-30ea-448d-8b59-0f27a337dbc2",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "firstName" : "John",
  "lastName" : "Doe",
  "email" : "john.doe@acme.com",
  "identityMappings" : [ {
    "id" : "22d711ee-e74b-4067-8744-1d79cdc1f6f3",
    "auth0UserId" : "auth0-opaque-userId-3",
    "identityProviderId" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "userIdentityId" : "474044d7-30ea-448d-8b59-0f27a337dbc2"
  } ],
  "active" : true,
  "createdAt" : {
    "nano" : 241963000,
    "epochSecond" : 1606233130
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "John Doe",
  "type" : "UserIdentity"
}, {
  "id" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "firstName" : "TESTING",
  "lastName" : "CLIENT",
  "email" : "test.client@server.com",
  "identityMappings" : [ {
    "id" : "80b3c6b6-e08f-4a05-b498-1ec7e932c712",
    "auth0UserId" : "auth0-opaque-userId-6",
    "identityProviderId" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "userIdentityId" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89"
  } ],
  "active" : true,
  "createdAt" : {
    "nano" : 332438000,
    "epochSecond" : 1606233130
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "TESTING CLIENT",
  "type" : "UserIdentity"
}, {
  "id" : "8770962f-e118-4db1-bd5f-533f9c4faf1c",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "firstName" : "First",
  "lastName" : "Last",
  "email" : "random-15@acme.com",
  "identityMappings" : [ {
    "id" : "bf696728-905b-4896-a4d5-50aa2e37005f",
    "auth0UserId" : "new-auth0-userId:64a01fbf-451a-452a-8d63-2100b0e18ad2",
    "identityProviderId" : "d8624c35-29bd-4333-92ed-6a5d985f2577",
    "userIdentityId" : "8770962f-e118-4db1-bd5f-533f9c4faf1c"
  }, {
    "id" : "f9db5511-4d9d-4fcf-b63b-f0d62aec9aed",
    "auth0UserId" : "auth0-opaque-userId-16",
    "identityProviderId" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "userIdentityId" : "8770962f-e118-4db1-bd5f-533f9c4faf1c"
  } ],
  "active" : true,
  "createdAt" : {
    "nano" : 927156000,
    "epochSecond" : 1606233135
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "First Last",
  "type" : "UserIdentity"
} ]

Get User Identity

GET /user-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}

Get an User Identity by its id.

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

The id of the desired Identity.

Client must have read action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

firstName

String

true

Size must be between 0 and 128 inclusive.

lastName

String

true

Size must be between 1 and 128 inclusive.

email

String

false

Size must be between 6 and 254 inclusive.

identityMappings

Array[Object]

false

identityMappings[].id

String

false

identityMappings[].auth0UserId

String

false

Size must be between 4 and 256 inclusive.

identityMappings[].identityProviderId

String

false

identityMappings[].userIdentityId

String

false

active

Boolean

true

createdAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

name

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/474044d7-30ea-448d-8b59-0f27a337dbc2' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIwZTItY05wWEhldUpVZTg4Wi10LS13IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTM3LCJleHAiOjE2MDYyMzY3MzcsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCJkMGNi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hjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9LHtcImlkXCI6XCI1YmQxNDJjNS1lYWZkLTQ1YzktOTdjMy1kMTIxY2IyZTVhMzVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJlMTRhMTI5Yy1jNzAxLTRmYTktYjEzYS1jY2MyMjBhOWRkYjdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.UgiHDWlPVOnqLinlMaW4CjTIdWFJwyqOR_K93kaFUseaziGGlgv2WZaDjOL61TSn3g6LqCCPTHdGQi_fMrprlZe15NZivabqhajAnIDHegcZUml_3OfSMxXP5whRcsAtIfHNPhlzU3yoOIc_v-MoMnXDEHtwYT59AadYf8qJlbKX6VrNEy2e_80wl8mEKWTIg0c7Ep31_8LDFJ9SSOZrXzhiE_0yB1cwk2dpdtga3aX_-vNHzGcEuJAP9H0NSmQ2_r3f0MqAiVWEiqvLraBwyzqMx7tFqOdOcPM6OQWvgzbm_RbNPSqX1akn7PLWZkd_B_d85ggSWByeKZWohS8mFQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 674

{
  "id" : "474044d7-30ea-448d-8b59-0f27a337dbc2",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "firstName" : "John",
  "lastName" : "Doe",
  "email" : "john.doe@acme.com",
  "identityMappings" : [ {
    "id" : "22d711ee-e74b-4067-8744-1d79cdc1f6f3",
    "auth0UserId" : "auth0-opaque-userId-3",
    "identityProviderId" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "userIdentityId" : "474044d7-30ea-448d-8b59-0f27a337dbc2"
  } ],
  "active" : true,
  "createdAt" : {
    "nano" : 241963000,
    "epochSecond" : 1606233130
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "John Doe",
  "type" : "UserIdentity"
}

Get User Identity By Mapping

GET /user-identities/mapping/{auth0UserId}/{identityProviderId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

auth0UserId

String

false

identityProviderId

Object

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

firstName

String

true

Size must be between 0 and 128 inclusive.

lastName

String

true

Size must be between 1 and 128 inclusive.

email

String

false

Size must be between 6 and 254 inclusive.

identityMappings

Array[Object]

false

identityMappings[].id

String

false

identityMappings[].auth0UserId

String

false

Size must be between 4 and 256 inclusive.

identityMappings[].identityProviderId

String

false

identityMappings[].userIdentityId

String

false

active

Boolean

true

createdAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

name

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/mapping/auth0-opaque-userId-3/40dc4eec-fb96-4851-b613-b916b9f57119' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJXU2E2STlzOGJ4OGlCNFY4aTAzWmx3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTM4LCJleHAiO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tycRaPsCVejuwiUPx4TsQcSYS9d6fKK5SLS67ZUJ7VdSr-ndQJtisn7gnXsEjFaQ4Zzv9U2UilSldPB3oJY9-oWNPWTUJbk4D8l9QRWidRrHlQpE9POn54l5RvxQEl9HCVi48dkhg_ocCTSPP036k9i6biH1i_fe3gkVyjGuqOjwhNV74V4f8xFnUn9QMNPT70GsgJNw'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 674

{
  "id" : "474044d7-30ea-448d-8b59-0f27a337dbc2",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "firstName" : "John",
  "lastName" : "Doe",
  "email" : "john.doe@acme.com",
  "identityMappings" : [ {
    "id" : "22d711ee-e74b-4067-8744-1d79cdc1f6f3",
    "auth0UserId" : "auth0-opaque-userId-3",
    "identityProviderId" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "userIdentityId" : "474044d7-30ea-448d-8b59-0f27a337dbc2"
  } ],
  "active" : true,
  "createdAt" : {
    "nano" : 241963000,
    "epochSecond" : 1606233130
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "John Doe",
  "type" : "UserIdentity"
}

Create Identity

POST /user-identities

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

organizationId

String

true

Client must have create action under the annotated resource.

firstName

String

true

lastName

String

true

email

String

true

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

firstName

String

true

Size must be between 0 and 128 inclusive.

lastName

String

true

Size must be between 1 and 128 inclusive.

email

String

false

Size must be between 6 and 254 inclusive.

identityMappings

Array[Object]

false

identityMappings[].id

String

false

identityMappings[].auth0UserId

String

false

Size must be between 4 and 256 inclusive.

identityMappings[].identityProviderId

String

false

identityMappings[].userIdentityId

String

false

active

Boolean

true

createdAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

name

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJLODliTnltdU5WWVAyWjI2Z3FXYmV3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTM4LCJleHAiOjE2MDYyMzY3MzgsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCI3ZmIwYjZhNi0yNGVjLTQxMTktYTYxOS0wOGQ5ZWViMzAxZTFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzh9LHtcImlkXCI6XCJkMGNiMDllOC05YjkxLTRkYjAtOTA5Mi05OGViOWJiYjM4ZDZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJjMzllODM1Mi04MmQ0LTQ1ZTItODdhZi04NWZmYWVjYjMyNzNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzJ9LHtcImlkXCI6XCJhZmVmZWI1Ny0yZTU3LT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zOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9LHtcImlkXCI6XCI1YmQxNDJjNS1lYWZkLTQ1YzktOTdjMy1kMTIxY2IyZTVhMzVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJlMTRhMTI5Yy1jNzAxLTRmYTktYjEzYS1jY2MyMjBhOWRkYjdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.b595LB5HDPS013JrMlZJO821_fM71j8qx9VwKZjyxAW8Wg0hyz9A7D8wdrsi8UeeYgdwxvKaHOKPmfW9o4D6nfunJ4j_MhlXVyp0I75cTMYbYcj0CDf0toyBgc08mHDAl-MofLuQvoJjehC6--EepwDVJz5KIy-4cSyP8HP_czCDx5-9S7EfRosDoLTliEuaUE6RNvacodlRmg5E-y2eC42TrrivpgLki408Rsjb7KAp7tckv-g0OX0KpNePfezyWMUgfyi-R2mLOnUDWB1jpnX5I_nrUxL1hbWVzZymSN-OCVFBUS6piPwdzVri169gEZPElUqCuiKF6tJO_BzyyQ' \
    -d '{"organizationId":"32a7ee15-f92a-46b0-a497-85e36ca35acb","firstName":"Jane","lastName":"Doe","email":"jane.doe@acme.com"}'

Example response

HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 443

{
  "id" : "d75e81e1-5c1d-45b7-bd94-e632a9e5591a",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "firstName" : "Jane",
  "lastName" : "Doe",
  "email" : "jane.doe@acme.com",
  "identityMappings" : [ ],
  "active" : true,
  "createdAt" : {
    "nano" : 983222000,
    "epochSecond" : 1606233138
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "Jane Doe",
  "type" : "UserIdentity"
}

Update Identity Info

PUT /user-identities/{id}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have update action on the annotated resource.

Query parameters

No parameters.

Request fields

Path Type Optional Description

firstName

String

true

lastName

String

true

email

String

true

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

firstName

String

true

Size must be between 0 and 128 inclusive.

lastName

String

true

Size must be between 1 and 128 inclusive.

email

String

false

Size must be between 6 and 254 inclusive.

identityMappings

Array[Object]

false

identityMappings[].id

String

false

identityMappings[].auth0UserId

String

false

Size must be between 4 and 256 inclusive.

identityMappings[].identityProviderId

String

false

identityMappings[].userIdentityId

String

false

active

Boolean

true

createdAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

name

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/de74f08f-2090-42c9-8084-4a81d0b66240' -i -X PUT \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJqSXVwRGxlV3JnckpRcmVJcVR4NlN3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTM2LCJleHAiOjE2MDYyMzY3MzYsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImx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V9LHtcImlkXCI6XCJmOGMxNjM1Zi1jODAzLTRhZjUtOTkzMC0wMTc2ZWM1YjQ4NWFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.Hx6vjTPEAHyJN1hMo0qVBeLHggJaemXN8wYzinOp4QbdZeKh_7Ne5YK-670HeiV6uhkI5a92aoo1qTYMxYShfmfgpc5wqpxCs6ZHSUSvvRKtLBEFS392POtpcy-sV8xhDVbiv_SwdH6pFPstY8Ix3uJuIwmdgAd3iFYOzq82Xh8YGgnfTj3Ovo2WrV2LYZoA3uvQz9Ga2W-oCiME2_JpuoBE_QdLrALg7fN2D0asLRjJy0nsrexSrEhWPMI_TzKcwf-fT54MnfXs4KmJGpv8ALS-hrpfW62YePF6aKUxg5UMzclbr9xzgsna-0oyJdqn7krlx3r-GAs0kkt-p8_fEQ' \
    -d '{"firstName":"Bobby","lastName":"White","email":"bobby.white@acme.com"}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 684

{
  "id" : "de74f08f-2090-42c9-8084-4a81d0b66240",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "firstName" : "Bobby",
  "lastName" : "White",
  "email" : "bobby.white@acme.com",
  "identityMappings" : [ {
    "id" : "3f0f0f78-7e2b-4298-979f-1dacd4db7342",
    "auth0UserId" : "auth0-opaque-userId-18",
    "identityProviderId" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "userIdentityId" : "de74f08f-2090-42c9-8084-4a81d0b66240"
  } ],
  "active" : true,
  "createdAt" : {
    "nano" : 680709000,
    "epochSecond" : 1606233136
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "Bobby White",
  "type" : "UserIdentity"
}

Activate Or Deactivate User Identity

PUT /user-identities/{id}/{action:activate|deactivate}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have update-active action on the annotated resource.

action

String

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

firstName

String

true

Size must be between 0 and 128 inclusive.

lastName

String

true

Size must be between 1 and 128 inclusive.

email

String

false

Size must be between 6 and 254 inclusive.

identityMappings

Array[Object]

false

identityMappings[].id

String

false

identityMappings[].auth0UserId

String

false

Size must be between 4 and 256 inclusive.

identityMappings[].identityProviderId

String

false

identityMappings[].userIdentityId

String

false

active

Boolean

true

createdAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

name

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/1ad6bd2a-3cb0-48a1-b53a-1605f63dae4a/deactivate' -i -X PUT \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJ3LUxKeVJ0Q0NrR2tsa04zb0VmX3J3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTM3LCJleHAiOjE2MDYyMzY3MzcsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN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WZkLTQ1YzktOTdjMy1kMTIxY2IyZTVhMzVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJlMTRhMTI5Yy1jNzAxLTRmYTktYjEzYS1jY2MyMjBhOWRkYjdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.bKiQ8RjibWMF8n1yBWSm7PS6DqgZEB57N0wWXkDkMERvfSNMF67wmM_ptKQJcIsX77a1IGlk4fosgJ18kb6pHNJKRTPK7ZokdWBRLEH1pNMibMNgKVwtBfHY6qPlhb2ZC8tjXWULZn_zz119DZiwDN9KplKw39Hd3cLVFLZd9yCsje3cVrAmaFfryP99Rau0h_eZUKjCzzzKbYlk8GHu_XuE-ND1j-TaSk9fS0dLIU68KTesnD7VIrGsTrxVmOTEMvXkMrA-PVcbc8AplB2aHHfStQACANBMfg1XP2CH8vEL43EUUFL023xWSeAVSlO3iXT09JnA2oBLMVEviHS4jQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 681

{
  "id" : "1ad6bd2a-3cb0-48a1-b53a-1605f63dae4a",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "firstName" : "First",
  "lastName" : "Last",
  "email" : "random-19@acme.com",
  "identityMappings" : [ {
    "id" : "9185019b-a390-4cb2-b046-21aee4eca23a",
    "auth0UserId" : "auth0-opaque-userId-20",
    "identityProviderId" : "40dc4eec-fb96-4851-b613-b916b9f57119",
    "userIdentityId" : "1ad6bd2a-3cb0-48a1-b53a-1605f63dae4a"
  } ],
  "active" : false,
  "createdAt" : {
    "nano" : 151045000,
    "epochSecond" : 1606233137
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "name" : "First Last",
  "type" : "UserIdentity"
}

Reset User Identity Mfa Settings

PUT /user-identities/{id}/reset-mfa

Calling this service will reset the user’s MFA settings. On their next login attempt, they will be required to setup their MFA settings again. This is useful if, for example, the user has replaced their phone and can no longer access their secondary authentication.

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

The id of the user identity to reset.

Client must have update-reset-mfa action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/63a766d0-d2cc-423e-bc64-a89bebc8acf1/reset-mfa' -i -X PUT \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJPVWkxU18tRzRuc1FxSGNqVzg0OHZnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTM3LCJleHAiOjE2MDYyMzY3MzcsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCJkMGNiMDllOC05YjkxLTRkYjAtOTA5Mi05OGViOWJiYjM4ZDZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJjMzllODM1Mi04MmQ0LTQ1ZTItODdhZi04NWZmYWVjYjMyNzNcIixcImx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YyMzMxMzR9LHtcImlkXCI6XCJlMTRhMTI5Yy1jNzAxLTRmYTktYjEzYS1jY2MyMjBhOWRkYjdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.JvwTiVVbZT8yg1S-8mNYra_dpPq-2z8a_xNKp8Hl7DVvI0tSKkfsukl3K-RJw3OUMYo62wFpunCbdDld7Zo-5JoiZ3v_Kz6WX252Rvhw8g7gdQ65uaPlo-erpiw_pJWouR5M_xap39tJIvD9C1Vep5hZIcei2jCQY-kGbEjoIuj0Y7KuiZxcFGw2EuTsf9smKdfE2OCbPty8j-nzSjVyA3rCPdJcdynrrsMrs6MaDzxqeOLopv9e2jUEMBkfkM9vFRjGEbowqIckeNs0mw_vCZO-MneiuIMMUJ17pDmGpTH4DfK_GFwE6zmTTAF01KAfRApmTV97WXuO4oxnoH4u1g'

Example response

HTTP/1.1 200 OK

Map Identity

POST /user-identities/{id}/mapping

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have create-identity-mapping action on the annotated resource.

Query parameters

No parameters.

Request fields

Path Type Optional Description

auth0UserId

String

false

Size must be between 1 and 128 inclusive.

identityProviderId

String

false

Response fields

No response body.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/8770962f-e118-4db1-bd5f-533f9c4faf1c/mapping' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJHb2xZZVJYRE1yYUdFS3FOUXJKX0NnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1Z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llZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCJlMTRhMTI5Yy1jNzAxLTRmYTktYjEzYS1jY2MyMjBhOWRkYjdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCJmOGMxNjM1Zi1jODAzLTRhZjUtOTkzMC0wMTc2ZWM1YjQ4NWFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.fZhKlY2fv_gOOfVt88kVgURbiObPYAeJBt_xwxjEW3nGCM_J92NHtNOQbu72RuOt2hbpfyvUxpYiIrLZD_r8Qx8_vPctMapabXcjDy6cpFqqz06ODvXxOimxK18V9lf82xmoQC_1GzngF95a-1kzDacAOGu73vUrSxx3ULv6NLiYotjg1crf01RDt1rAaQw8DGCkhzsFX7LTEFL2fIQo8uqa0sUJ9EihzgXY75Y9BvlBE6T5xJ-8Itq2B278ecxS7AK5fMPHifhj-QgAVEZnzMzxzbMG0P59mFULcTNBfCcOGWYmgqMnhVJAGq5n1uxn7YuFAlmhmZff_QviFb1osQ' \
    -d '{"auth0UserId":"new-auth0-userId:64a01fbf-451a-452a-8d63-2100b0e18ad2","identityProviderId":"d8624c35-29bd-4333-92ed-6a5d985f2577"}'

Example response

HTTP/1.1 200 OK

Identity Session

Find Identity Sessions

GET /identity-sessions

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

organizationId

Object

true

userIdentityId

Object

true

active

Boolean

true

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

Id of this {@link IdentitySession}.

userIdentityId

String

false

The id of the {@link UserIdentity} who’s API activity this session tracks.

idleSessionTimeoutSeconds

Integer

true

The {@link SessionConfiguration#getIdleSessionTimeoutSeconds()} value that was active at the time this session was created and the value that will be applied to the maintenance of this session. A session with a last API Request At time that is older than this idle session timeout is no longer an active session. See {@link SessionConfiguration} documentation for the meaning of edge values like 0, -1, etc. Note, an identity can explicitly logout a session regardless of this configuration.

autoLogoutIdleSession

Boolean

true

The {@link SessionConfiguration#isAutoLogoutIdleSession()} value that was active at the time this session was created and the value that will be applied to the maintenance of this session. A session with a last API Request At time that is older than this idle session timeout is in a Logout state. As a result, as long as this is the current session (not active, but current), the client will not be able to make API requests using a token which was created before the logout at timestamp. Note, an identity can explicitly logout a session regardless of this configuration.

firstApiRequestAt

Object

false

The time at which the first API request that triggered the creation of this session occurred. This value never changes after session creation.

lastApiRequestAt

Object

false

The most recent API request time for requests associated to this session. This value is updated as this session is actively used. Once this session becomes non-active, this value is no longer changes.

terminalState

String

true

The terminal state of this session. This will be null if this snapshot of the session was read while the session’s logical state was Active or the session record has not been processed into its logical terminal state. Once set, this value is the immutable persistent state of this session. ie: the session will never have a different state after this is set. See {@link IdentitySession#getState()} to determine the logical state, regardless of whether this session has been processed.

Must be one of [Active, IdleTimeout, Logout, Terminated].

terminatedAt

Object

true

Initially null, and set only at the moment that this session was processed from an active state to a terminal state. This will never change once set. This may not precisely equal the session’s configured time to live. Sessions may be terminated early by administrative action, such as when a new session configuration should be applied. Also, server processing time may result in some amount of drift from the configured session time to live. It is possible to read a session instance during this time, when it is logically terminated but has yet to be processed as such.

terminatedBy

String

true

Only set if the session is in a terminal state; this will hold the identity id that initiated the state transition. In case of auto-logout, this will be set to an internal service identifier which detected the sessions idle state and enforced the configured auto logout configuration. In cases of a user explicitly logging out or an administrator forcing a logout of another user, this will contain that identity id that made the logout request. This is set as part of processing the termination of the session, which can lag behind the logical point in time when the session was terminated.

asOf

Object

false

An ephemeral computed property; the point in time that this snapshot of the IdentitySession was read.

state

String

true

The logical state of this IdentitySession as of the point in time that it was read from the session persistent store. This will always reflect the logical state, regardless of whether this session has been processed or not. For example, if this session exceeded its idle TTL 3 seconds before reading it but the system had not yet processed it into its final terminated state …​ this computed property will still return the state as IdleTimeout even though the terminalState property is still null.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-sessions' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJnMnJ6Y3lweEM0Qmo3OVFydlRSdll3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQ2LCJleHAiOjE2MDYyMzY3NDYsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCI3ZmIwYjZhNi0yNGVjLTQxMTktYTYxOS0wOGQ5ZWViMzAxZTFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzh9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCIxMGNmMWNkOS1hMDVkLTQzMDAtYmZmYy0xNWQyMmQ2MmI1ZDVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDN9LHtcImlkXCI6XCI5YjljYjZlNi1kZmRhLTQwM2ItYjA4MS1kOTdlNjhiNmMwNGZcIixcIm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NkYzliMS0zZDFhLTRmNTEtYTg3YS0wYTQ1NzY3Y2I4OTBcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJkNjVmYzRjNy0xOGE3LTQxYTctOTUzNy0xYjc3MmVlMDFhZDZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJiOTIzNjMwMS00MDI5LTQ3NzEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.NiGlWCpoD3trJeCZdaQeY7xHE2nuovYd2CJvvns9Y30KpWQyVHEEX5rv027Z1xZktV01AN7xJD-4sxlqyduF2l2ESihs21r7gGVe3mQoQL7MBT6a2YO8l64tA9aluCwQh9XHuPayLb6UR2ml-XWKL5XnLFAQOsiFxkXOCyAQckC2F9WiuFH9o9Iv7Ys8MbCWqi1N1L9yKCxzKTKDMdd8PnPBoB3PPpXgVNIEH3VdEDoX9V2xsAMaccKrljUKYV91kUBXnP6A25c4nW9HYIvGOgLQBFm2zJqxosJH3g0yQ_cLbqL-n7W2ikEXwmfdliqqTZSxCRjcBn80XSON07aXTg'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1773

[ {
  "id" : "78f2d5dc-7152-4d03-aa34-427ffbbe2941",
  "userIdentityId" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "idleSessionTimeoutSeconds" : 300,
  "autoLogoutIdleSession" : false,
  "firstApiRequestAt" : {
    "nano" : 454550000,
    "epochSecond" : 1606233144
  },
  "lastApiRequestAt" : {
    "nano" : 352883000,
    "epochSecond" : 1606233145
  },
  "terminalState" : "Logout",
  "terminatedAt" : {
    "nano" : 420930000,
    "epochSecond" : 1606233145
  },
  "terminatedBy" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "asOf" : {
    "nano" : 140347000,
    "epochSecond" : 1606233146
  },
  "state" : "Logout"
}, {
  "id" : "2ffa69db-2d18-42a4-82a6-f80809dc5481",
  "userIdentityId" : "d8474322-aba1-4d7c-b252-22a685586141",
  "idleSessionTimeoutSeconds" : 300,
  "autoLogoutIdleSession" : false,
  "firstApiRequestAt" : {
    "nano" : 770025000,
    "epochSecond" : 1606233144
  },
  "lastApiRequestAt" : {
    "nano" : 770025000,
    "epochSecond" : 1606233144
  },
  "terminalState" : "Logout",
  "terminatedAt" : {
    "nano" : 69815000,
    "epochSecond" : 1606233145
  },
  "terminatedBy" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "asOf" : {
    "nano" : 140347000,
    "epochSecond" : 1606233146
  },
  "state" : "Logout"
}, {
  "id" : "ce3722e1-faec-41f3-af47-a494c2e42deb",
  "userIdentityId" : "fea2e2a4-a73f-4b36-861d-d7bf2e1a4377",
  "idleSessionTimeoutSeconds" : 300,
  "autoLogoutIdleSession" : false,
  "firstApiRequestAt" : {
    "nano" : 578976000,
    "epochSecond" : 1606233145
  },
  "lastApiRequestAt" : {
    "nano" : 578976000,
    "epochSecond" : 1606233145
  },
  "terminalState" : null,
  "terminatedAt" : null,
  "terminatedBy" : null,
  "asOf" : {
    "nano" : 140347000,
    "epochSecond" : 1606233146
  },
  "state" : "Active"
} ]

Get Identity Session

GET /identity-sessions/{id}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have read action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

Id of this {@link IdentitySession}.

userIdentityId

String

false

The id of the {@link UserIdentity} who’s API activity this session tracks.

idleSessionTimeoutSeconds

Integer

true

The {@link SessionConfiguration#getIdleSessionTimeoutSeconds()} value that was active at the time this session was created and the value that will be applied to the maintenance of this session. A session with a last API Request At time that is older than this idle session timeout is no longer an active session. See {@link SessionConfiguration} documentation for the meaning of edge values like 0, -1, etc. Note, an identity can explicitly logout a session regardless of this configuration.

autoLogoutIdleSession

Boolean

true

The {@link SessionConfiguration#isAutoLogoutIdleSession()} value that was active at the time this session was created and the value that will be applied to the maintenance of this session. A session with a last API Request At time that is older than this idle session timeout is in a Logout state. As a result, as long as this is the current session (not active, but current), the client will not be able to make API requests using a token which was created before the logout at timestamp. Note, an identity can explicitly logout a session regardless of this configuration.

firstApiRequestAt

Object

false

The time at which the first API request that triggered the creation of this session occurred. This value never changes after session creation.

lastApiRequestAt

Object

false

The most recent API request time for requests associated to this session. This value is updated as this session is actively used. Once this session becomes non-active, this value is no longer changes.

terminalState

String

true

The terminal state of this session. This will be null if this snapshot of the session was read while the session’s logical state was Active or the session record has not been processed into its logical terminal state. Once set, this value is the immutable persistent state of this session. ie: the session will never have a different state after this is set. See {@link IdentitySession#getState()} to determine the logical state, regardless of whether this session has been processed.

Must be one of [Active, IdleTimeout, Logout, Terminated].

terminatedAt

Object

true

Initially null, and set only at the moment that this session was processed from an active state to a terminal state. This will never change once set. This may not precisely equal the session’s configured time to live. Sessions may be terminated early by administrative action, such as when a new session configuration should be applied. Also, server processing time may result in some amount of drift from the configured session time to live. It is possible to read a session instance during this time, when it is logically terminated but has yet to be processed as such.

terminatedBy

String

true

Only set if the session is in a terminal state; this will hold the identity id that initiated the state transition. In case of auto-logout, this will be set to an internal service identifier which detected the sessions idle state and enforced the configured auto logout configuration. In cases of a user explicitly logging out or an administrator forcing a logout of another user, this will contain that identity id that made the logout request. This is set as part of processing the termination of the session, which can lag behind the logical point in time when the session was terminated.

asOf

Object

false

An ephemeral computed property; the point in time that this snapshot of the IdentitySession was read.

state

String

true

The logical state of this IdentitySession as of the point in time that it was read from the session persistent store. This will always reflect the logical state, regardless of whether this session has been processed or not. For example, if this session exceeded its idle TTL 3 seconds before reading it but the system had not yet processed it into its final terminated state …​ this computed property will still return the state as IdleTimeout even though the terminalState property is still null.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-sessions/ce3722e1-faec-41f3-af47-a494c2e42deb' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJaWFlBMTduakdqcVNtQ3doWmwtSk1BIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQ1LCJleHAiOjE2MDYyMzY3NDUsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCI3ZmIwYjZhNi0yNGVjLTQxMTktYTYxOS0wOGQ5ZWViMzAxZTFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzh9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCIxMGNmMWNkOS1hMDVkLTQzMDAtYmZmYy0xNWQyMmQ2MmI1ZDVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDN9LHtcImlk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I4OTBcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJkNjVmYzRjNy0xOGE3LTQxYTctOTUzNy0xYjc3MmVlMDFhZDZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJiOTIzNjMwMS00MDI5LTQ3NzEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.IlKgq7_Mqs80pOS-tTau8DNwvyv4us2hyaDlad6v9VzeOiuxLTfGhrqcFEmSyIOdyvUuO7gSvQrb5UgxAJfEHNeGOPc0eKmmz46YT_oWVj3-c5TK9jqk5bGcFd5sIOJd9nTE6pcJ-hqFDlrCv0O0bg67CDgKvNKN3mYWFp6Wt8Xz594V3qX2S_DIFsSxiD7zvMRzZCfGKBK-xsDRRQANkXBdL2PKAHorGPBkoLEhPsmpd0ATc7ltw22etGTid9atTysGxX2Opdvcfln2o8KMZ7cwJnfRD1xhOAd6OFJKvXiiJwqYQFNHtgCYuaI9QqaDZ5PEN5EVMqnYDpQAAmwGmQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 526

{
  "id" : "ce3722e1-faec-41f3-af47-a494c2e42deb",
  "userIdentityId" : "fea2e2a4-a73f-4b36-861d-d7bf2e1a4377",
  "idleSessionTimeoutSeconds" : 300,
  "autoLogoutIdleSession" : false,
  "firstApiRequestAt" : {
    "nano" : 578976000,
    "epochSecond" : 1606233145
  },
  "lastApiRequestAt" : {
    "nano" : 578976000,
    "epochSecond" : 1606233145
  },
  "terminalState" : null,
  "terminatedAt" : null,
  "terminatedBy" : null,
  "asOf" : {
    "nano" : 953569000,
    "epochSecond" : 1606233145
  },
  "state" : "Active"
}

Get Identity Session

GET /identity-sessions/self

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

Id of this {@link IdentitySession}.

userIdentityId

String

false

The id of the {@link UserIdentity} who’s API activity this session tracks.

idleSessionTimeoutSeconds

Integer

true

The {@link SessionConfiguration#getIdleSessionTimeoutSeconds()} value that was active at the time this session was created and the value that will be applied to the maintenance of this session. A session with a last API Request At time that is older than this idle session timeout is no longer an active session. See {@link SessionConfiguration} documentation for the meaning of edge values like 0, -1, etc. Note, an identity can explicitly logout a session regardless of this configuration.

autoLogoutIdleSession

Boolean

true

The {@link SessionConfiguration#isAutoLogoutIdleSession()} value that was active at the time this session was created and the value that will be applied to the maintenance of this session. A session with a last API Request At time that is older than this idle session timeout is in a Logout state. As a result, as long as this is the current session (not active, but current), the client will not be able to make API requests using a token which was created before the logout at timestamp. Note, an identity can explicitly logout a session regardless of this configuration.

firstApiRequestAt

Object

false

The time at which the first API request that triggered the creation of this session occurred. This value never changes after session creation.

lastApiRequestAt

Object

false

The most recent API request time for requests associated to this session. This value is updated as this session is actively used. Once this session becomes non-active, this value is no longer changes.

terminalState

String

true

The terminal state of this session. This will be null if this snapshot of the session was read while the session’s logical state was Active or the session record has not been processed into its logical terminal state. Once set, this value is the immutable persistent state of this session. ie: the session will never have a different state after this is set. See {@link IdentitySession#getState()} to determine the logical state, regardless of whether this session has been processed.

Must be one of [Active, IdleTimeout, Logout, Terminated].

terminatedAt

Object

true

Initially null, and set only at the moment that this session was processed from an active state to a terminal state. This will never change once set. This may not precisely equal the session’s configured time to live. Sessions may be terminated early by administrative action, such as when a new session configuration should be applied. Also, server processing time may result in some amount of drift from the configured session time to live. It is possible to read a session instance during this time, when it is logically terminated but has yet to be processed as such.

terminatedBy

String

true

Only set if the session is in a terminal state; this will hold the identity id that initiated the state transition. In case of auto-logout, this will be set to an internal service identifier which detected the sessions idle state and enforced the configured auto logout configuration. In cases of a user explicitly logging out or an administrator forcing a logout of another user, this will contain that identity id that made the logout request. This is set as part of processing the termination of the session, which can lag behind the logical point in time when the session was terminated.

asOf

Object

false

An ephemeral computed property; the point in time that this snapshot of the IdentitySession was read.

state

String

true

The logical state of this IdentitySession as of the point in time that it was read from the session persistent store. This will always reflect the logical state, regardless of whether this session has been processed or not. For example, if this session exceeded its idle TTL 3 seconds before reading it but the system had not yet processed it into its final terminated state …​ this computed property will still return the state as IdleTimeout even though the terminalState property is still null.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-sessions/self' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJNVU9tVzM1U0JsSldNQXVFQi02VTBBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQ0LCJleHAiOjE2MDYyMzY3NDQsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCI3ZmIwYjZhNi0yNGVjLTQxMTktYTYxOS0wOGQ5ZWViMzAxZTFcIixcImxhc3RNb2RpZmllZFwiOjE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OGE3LTQxYTctOTUzNy0xYjc3MmVlMDFhZDZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJiOTIzNjMwMS00MDI5LTQ3NzEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.KktlfSKB7zF0Pedj5dT2yniTWAoROEyT6E4PXKZVIuKoQtCheW4vArmcR1zxDtVoxclT40IWYOdXYEdUbwfqdyCKkCDNgluBQ8uy-AzYEmUcqilPR0huV8HFnW6uPLGoWKyj_Uv3rEAbZyrxgxSiGSfKlupEVxmNLc2c6o0kBNqX3FGPjH1uXLCOQeeQF1FVkbfVqjZGw4CrcA7xQyLzPb5ZWwaC-t6jHFktY22xFLADBt-QGXJZAJ0-qwXBRfm-dAqFOGB1OuByMxuS7UJeC_6ScpKVQh0moJhpC1oSFCsJhfkQFqTOsfWe8-ZHwLSBiBOYI7o2_jFtq4aI2vW31Q'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 526

{
  "id" : "78f2d5dc-7152-4d03-aa34-427ffbbe2941",
  "userIdentityId" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "idleSessionTimeoutSeconds" : 300,
  "autoLogoutIdleSession" : false,
  "firstApiRequestAt" : {
    "nano" : 454550000,
    "epochSecond" : 1606233144
  },
  "lastApiRequestAt" : {
    "nano" : 454550000,
    "epochSecond" : 1606233144
  },
  "terminalState" : null,
  "terminatedAt" : null,
  "terminatedBy" : null,
  "asOf" : {
    "nano" : 565479000,
    "epochSecond" : 1606233144
  },
  "state" : "Active"
}

Logout

DELETE /identity-sessions

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

Parameter Type Optional Description

userIdentityId

Object

false

Request fields

No request body.

Response fields

No response body.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-sessions?userIdentityId=d8474322-aba1-4d7c-b252-22a685586141' -i -X DELETE \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJYVmxQQlJQQjUtN3VDNEVrUWN1WlpnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQ0LCJleHAiOjE2MDYyMzY3NDQsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCI3ZmIwYjZhNi0yNGVjLTQxMTktYTYxOS0wOGQ5ZWViMzAxZTFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzh9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCIxMGNmMWNkOS1hMDVkLTQzMDAtYmZmYy0xNWQyMmQ2MmI1ZDVcIixcIm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iOTIzNjMwMS00MDI5LTQ3NzEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJlZjE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.PcvnMRAsdyU0Yzv6yp5fSCrZftfwj-NC4BQHIvUWQfQOtNl0uWZ2X0ZIU6V29v8B1kqgztQBrvhjgWUWhCEokS3-3wBGxjcEZBvy8fo-XoOZOtkpfQ1nTfeYWRpWDPfwMOCfmvQUMej47I2g-0-8jLpcAJD2x6F5jPm4SpuOun-VH0YITlfEx-Qn8WbiYhEhpTLp68IWaWwfEnO-GHof_JHCeGDzgg81txnYiSryMqmkeSaMuPqikuz9z5W3eiVANCGLrcW2runTGa2rwXBlezNvlBZ9Pv1l06Tybiyb38XzdtGzaKSiQLEqlcAONYGHvbRciyL_M62dJJZTM7kM_Q'

Example response

HTTP/1.1 204 No Content

Logout

DELETE /identity-sessions/self

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-sessions/self' -i -X DELETE \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJQS2hSZmVmVlBGNWdTbGhVQVFHUjh3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQ1LCJleHAiOjE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I0bZHMeOosa182a3TU3uGCbtLF0Lf3t7SMmf9khp_my8MlrpfgnBf4q98MwhMVZqcFTTa1GSiGPldrbF1tvarCZoe0ZvGDDeEQeB1lSkK4WvmFjtqpJabhjqgfvJuLdEw7IRCYKk7m15Kzz95QBVdMCbLGwBFjMTico-rbINuOuZk3rmsKZgkGf8IBxcBpseRkoCawoOlDeB6HOHB5-_ehczJaFyikXHldmMpZBU1gM0STv7y8HMNpd2TIWsb2kyYPuPGJdREj5L31I74WjaRJ7db6Q'

Example response

HTTP/1.1 204 No Content

Session Configuration

Find Session Configurations

GET /session-configurations

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

organizationId

Object

true

identityProviderId

Object

true

identityId

Object

true

idleSessionTimeoutSecondsMinInclusive

Integer

true

idleSessionTimeoutSecondsMaxExclusive

Integer

true

autoLogoutIdleSession

Boolean

true

includeDeleted

Boolean

true

Default value: 'false'.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJIaWRpUHFFWUd1ZUc2X0FUZVJiTkN3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjI2LCJleHAiOjE2MDYyMzY4MjYsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCJjNjExZGEyMC01MDM0LTRiZjMtYjcwZC0zMTU5YWU1NzAxMzdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMTl9LHtcImlkXCI6XCIxNzZkMTY3OC1mNDI1LTQxNWYtYjRkYy00OTk5ZDk0Y2ExZTdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9LHtcImlkXCI6XCI4MzU2MmNhNC02MWUzLTQ0NDktOGJkYS0xYzBiNTNmMjNmMm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Imxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCI2ZTdkM2RjNi0xZTAxLTQzNjItYTdmNi02MzExZGFhNWU0NzJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNjB9LHtcImlkXCI6XCJkNjVmYzRjNy0xOGE3LTQxYTctOTUzNy0xYjc3MmVlMDFhZDZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJiOTIzNjMwMS00MDI5LTQ3NzEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCIyMjk5NzcyNC0wN2VhLTRkMmUtOGY3Mi00MjNiNDRhMDYyMGRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDZ9LHtcImlkXCI6XCJhYzJkOTg5MS1iNDY0LTQxNWUtOGUyNS00MDhiNTc4YjM1MjNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.AAuWWVMfATis2VtA_CXh8bGinye1Yt-pw8V0llvnu6VjZuEuCBLW9xGagIp0JEU78ElxJ1OuLTmMEnYsfQkdWAfUNXkd-lWXqk2txT8Cd2Ab0uhnvmHsr5si5OUZBu1QnUNyhNHA0gXS2myHDhuFivbgeEhf6ylKu80FRcBJroS-HlixqLkNfCjYBTO7wrac1frwhR1udeHFqrBEuG7wmd5ypUbg87Tuz2hGgwBZKhx7UZejZhYhXQkwD8K3kyFkRRgbi41CMfhsnubfahy9ICK4YA20o7xEjuPYcjE-2buxmyI8lTMDSr61R3_jiisW6QUlREoLvc7KrrJIfJp8ew'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1521

[ {
  "id" : "f4d62a50-c4d2-4998-b778-5c45e42fb39b",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "identityProviderId" : null,
  "identityId" : "8ec131d1-109b-4bbf-b2fb-f8e85308405f",
  "idleSessionTimeoutSeconds" : 123,
  "autoLogoutIdleSession" : true,
  "createdBy" : "ecf2b666-44fd-4bde-94f5-0356332b1058",
  "createdAt" : {
    "nano" : 417562000,
    "epochSecond" : 1606233225
  },
  "updatedAt" : {
    "nano" : 417562000,
    "epochSecond" : 1606233225
  },
  "deletedAt" : null,
  "deletedBy" : null
}, {
  "id" : "716b1990-966b-44f9-8e1e-efc33bb2aecb",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "identityProviderId" : null,
  "identityId" : "62669167-3658-44d5-a5e9-55389c846571",
  "idleSessionTimeoutSeconds" : 123,
  "autoLogoutIdleSession" : true,
  "createdBy" : "52b0ca35-2d96-41fa-bc22-3d3b3d5ab5f5",
  "createdAt" : {
    "nano" : 879278000,
    "epochSecond" : 1606233225
  },
  "updatedAt" : {
    "nano" : 879278000,
    "epochSecond" : 1606233225
  },
  "deletedAt" : null,
  "deletedBy" : null
}, {
  "id" : "7b4b041d-cb42-4a28-ad30-2156ce662bb1",
  "organizationId" : null,
  "identityProviderId" : null,
  "identityId" : null,
  "idleSessionTimeoutSeconds" : 321,
  "autoLogoutIdleSession" : true,
  "createdBy" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "createdAt" : {
    "nano" : 731241000,
    "epochSecond" : 1606233226
  },
  "updatedAt" : {
    "nano" : 731241000,
    "epochSecond" : 1606233226
  },
  "deletedAt" : null,
  "deletedBy" : null
} ]

Get Session Configuration

GET /session-configurations/{id}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have read action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/f4d62a50-c4d2-4998-b778-5c45e42fb39b' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJlOVF5c1pDUkxGclFoTW1TSXBab29RIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjI1LCJleHAiOjE2MDYyMzY4MjUsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MT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TIHUOOIjtKOjha7kliGqh9grPlc0Vw_mpzAt0KZGJeQAX87LR9hyoDAK_g5wUKOZSel9sDqqRx6PuUPdPODFskrg'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527

{
  "id" : "f4d62a50-c4d2-4998-b778-5c45e42fb39b",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "identityProviderId" : null,
  "identityId" : "8ec131d1-109b-4bbf-b2fb-f8e85308405f",
  "idleSessionTimeoutSeconds" : 123,
  "autoLogoutIdleSession" : true,
  "createdBy" : "ecf2b666-44fd-4bde-94f5-0356332b1058",
  "createdAt" : {
    "nano" : 417562000,
    "epochSecond" : 1606233225
  },
  "updatedAt" : {
    "nano" : 417562000,
    "epochSecond" : 1606233225
  },
  "deletedAt" : null,
  "deletedBy" : null
}

Get Default For Platform

GET /session-configurations/default-platform

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-platform' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJXeEJpaUphbGxGMzVaN0tHMVE4X05BIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjI3LCJleHAiOjE2MDYyMzY4MjcsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCJjNjExZGEyMC01MDM0LTRiZjMtYjcwZC0zMTU5YWU1NzAxMzdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMTl9LHtcImlkXCI6XCIyYzFmZGM3ZC1jMDhiLTRlZTgtYjE1ZS03OGY2ZmU2MDE2YzBcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjd9LHtcImlkXCI6XCIxNzZkMTY3OC1mNDI1LTQxNWYtYjRkYy00OTk5ZDk0Y2ExZTdcIixcImxhc3RNb2RpZmllZ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oq95XIAip2tBFcHI8cgWxqYd8kCkzFPDnlKfUpJ11Iye9700WvAcHmNApJ8X_wbO5UHIp3WQOn-j8irROpHTQ5IJyWfOHOdMQEwzQrlMS1yvF6QMpdmrx3Y41qexdgrR0SyAaMNXkOeIHGu7uaPBb1TXVmw76S03Se9BMp7yToHJAFtVI36ZLbZvR1wpnKa1_gdVLlePt5nX95B7qqdPb1E9ymmkHtEbTQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 459

{
  "id" : "7b4b041d-cb42-4a28-ad30-2156ce662bb1",
  "organizationId" : null,
  "identityProviderId" : null,
  "identityId" : null,
  "idleSessionTimeoutSeconds" : 321,
  "autoLogoutIdleSession" : true,
  "createdBy" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "createdAt" : {
    "nano" : 731241000,
    "epochSecond" : 1606233226
  },
  "updatedAt" : {
    "nano" : 731241000,
    "epochSecond" : 1606233226
  },
  "deletedAt" : null,
  "deletedBy" : null
}

Get Default For Organization

GET /session-configurations/default-organization/{organizationId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

organizationId

Object

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-organization/3de482c7-77bf-433e-9cc1-ae398dcc6a9f' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJrcU9Xc2NodzE5VDRMU0t2c25MMFh3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjI5LCJleHAiOjE2MDYyMzY4MjksInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCIyYzk2NmFjMS05NTVmLTQ5ZjUtYjk2Ni02ODBiZDFkMWM3MGNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjd9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCJjNjExZGEyMC01MDM0LTRiZjMtYjcwZC0z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pZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJiOTIzNjMwMS00MDI5LTQ3NzEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCIyMjk5NzcyNC0wN2VhLTRkMmUtOGY3Mi00MjNiNDRhMDYyMGRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDZ9LHtcImlkXCI6XCJhYzJkOTg5MS1iNDY0LTQxNWUtOGUyNS00MDhiNTc4YjM1MjNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.KuqqHlZI6HTON111bntOrq_u9ycP39w10_0eSW8gtWk3OAfI5qMSw_cLykirVJs6lw8RF4dqY5mT9HH7hl6pV-Bvl5ve2IL6kC8gcKocPxkCMQzs760H3ZiEltIpcGQ0K_kGJqXkgrzu3Ws_NiKBmsrOy-cLcvIN0yCRNlexgS5galboMqqwSCJMl9tDsh85QqPTuiPEKAJ1IFkcoUmekG8W2rY5wOzYSAuumBog6s6OvHqAtJFBrenydPhJV1OI9u2Ug-mxLXZkJx2sNaHPAliKUmv0RPMeBiEHxc1gCbnkft4lzyZHEveYh6imT_4AMPp6t4CjTT2tX_IR7Y_A0g'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 493

{
  "id" : "f9e25890-e243-4549-af21-9c19b68e4c4d",
  "organizationId" : "3de482c7-77bf-433e-9cc1-ae398dcc6a9f",
  "identityProviderId" : null,
  "identityId" : null,
  "idleSessionTimeoutSeconds" : 100,
  "autoLogoutIdleSession" : true,
  "createdBy" : "b419dd7b-bb9f-411e-a59b-cd24aa41205b",
  "createdAt" : {
    "nano" : 441491000,
    "epochSecond" : 1606233229
  },
  "updatedAt" : {
    "nano" : 441491000,
    "epochSecond" : 1606233229
  },
  "deletedAt" : null,
  "deletedBy" : null
}

Get Default For Identity Provider

GET /session-configurations/default-identity-provider/{identityProviderId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

identityProviderId

Object

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-identity-provider/1d71d860-cfbe-4fcd-8edf-6e960dc4c984' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJBazNYMUtxVTlYS25nUGZ2Uk0zTVVBIiwiaXNzIjoiT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NjB9LHtcImlkXCI6XCJkNjVmYzRjNy0xOGE3LTQxYTctOTUzNy0xYjc3MmVlMDFhZDZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJiOTIzNjMwMS00MDI5LTQ3NzEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCIyMjk5NzcyNC0wN2VhLTRkMmUtOGY3Mi00MjNiNDRhMDYyMGRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDZ9LHtcImlkXCI6XCJhYzJkOTg5MS1iNDY0LTQxNWUtOGUyNS00MDhiNTc4YjM1MjNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.UvVQqVLlNuxlw1eme9880B4Liy_QFfbRDXj_60HDnve573Vds5io0PsKh0PIFJAa4HqlI9wDoqw2udYYKHosJbgDt758rL5O82zMNONaq9XqD-4tKS9DQRC2InIIM3XjFPrS6_xS4j_9XtpbjhE74veUhjzEle29GCH3PaazX-zx6wuMniPuOW2fdWCmyp_c-HuPtBBwFhiO-XRfWNVyrR3tTmPdeC4m0nq-hG9PFZfYXrLWB7DHXGwGGoW4HG0q1vL5HnnamyR9tCr3flmN9c9R3p5aXO_HWk1emKYb2DFSOI92Cm2bYhsjok_Su9Bv5IBKAxFy5HGCuy6ASfs1Nw'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527

{
  "id" : "c594d695-8d6f-4db3-a74d-3a85b8fe3ca2",
  "organizationId" : "4cb43e20-aed4-4e67-9d3a-5a95fcbde7fb",
  "identityProviderId" : "1d71d860-cfbe-4fcd-8edf-6e960dc4c984",
  "identityId" : null,
  "idleSessionTimeoutSeconds" : 200,
  "autoLogoutIdleSession" : true,
  "createdBy" : "2eb30b09-cdcc-4da8-8af7-fba9800e8773",
  "createdAt" : {
    "nano" : 374813000,
    "epochSecond" : 1606233227
  },
  "updatedAt" : {
    "nano" : 374813000,
    "epochSecond" : 1606233227
  },
  "deletedAt" : null,
  "deletedBy" : null
}

Get Default For Identity

GET /session-configurations/default-identity/{identityId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

identityId

Object

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-identity/62669167-3658-44d5-a5e9-55389c846571' -i -X GET \
    -H 'Authorization: Bearer ey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JhYzJkOTg5MS1iNDY0LTQxNWUtOGUyNS00MDhiNTc4YjM1MjNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.I2bz0tFceXEbaouudiPxSvwKIVweLHLtTX6w4OKKyt-bGj4vqliEJOVMmv6SnnjN4x3EUVq3kvISsWYr8GGRaj9at8mUuiKifwShUAtQk5cjcj8Csffn27WSVSiYEILjDJcZ9WEMd3fv3cHiE904c4wFomTRNk8nEQ3qf5IRn8AzreOpyEPB8K_c7WRPVEYiCaPPQGa4uY3djLQ12WsVPiix8lp360VkX_960qf0lCDpnKk3xtxVXG4-WBoQL-TQnTMuJFkFuuqlDh2EwxQ_Pd8OHtRXC6sBi6uWIWIkiD9bnz3tHOH7cRzJRNJssQTzjnQ9oaunbo9vbNkcr1RLYw'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527

{
  "id" : "716b1990-966b-44f9-8e1e-efc33bb2aecb",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "identityProviderId" : null,
  "identityId" : "62669167-3658-44d5-a5e9-55389c846571",
  "idleSessionTimeoutSeconds" : 123,
  "autoLogoutIdleSession" : true,
  "createdBy" : "52b0ca35-2d96-41fa-bc22-3d3b3d5ab5f5",
  "createdAt" : {
    "nano" : 879278000,
    "epochSecond" : 1606233225
  },
  "updatedAt" : {
    "nano" : 879278000,
    "epochSecond" : 1606233225
  },
  "deletedAt" : null,
  "deletedBy" : null
}

Set Default For Platform

POST /session-configurations/default-platform

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

io.netfoundry.common.util.validation.ValidAs.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-platform' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJlMUlyeWVTU1RtMWRJTEZCMUthTVJnIiwiaXNzIjoiTmV0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tcImlkXCI6XCJhYzJkOTg5MS1iNDY0LTQxNWUtOGUyNS00MDhiNTc4YjM1MjNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.UcQ_Yt1unbQJXwpmtlRgDqcy51lxHumeEwCaoRMbSZHI46jLp_cfkJT5nx0Y5ClEe1-JwC0VvvKWyAk8_9AEC0nhVKUJwP_cMoMWhlXxQtmc6g7srIlQ4y5vEArIK41rsiwvVPn08WBqk3XZSpxadMWqCMDE0rlSWoa1vWMIQVqeDeAU6uAjGgUvx8OAQqwRf5_XRNYw5PjLAU5fclCThCHa8-dQWIk_H9K3nTNpGXELe-KFwBJI2kzfed5dWF0Fi9wgxpkO6gucD8YRVFDfur7RqBEXYgNwad3AHOjQv3HBAs9AwIju36Gvb-_odow5DUYytUi_ew5yi7tvH6tbJg' \
    -d '{"idleSessionTimeoutSeconds":321,"autoLogoutIdleSession":true}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 459

{
  "id" : "7b4b041d-cb42-4a28-ad30-2156ce662bb1",
  "organizationId" : null,
  "identityProviderId" : null,
  "identityId" : null,
  "idleSessionTimeoutSeconds" : 321,
  "autoLogoutIdleSession" : true,
  "createdBy" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "createdAt" : {
    "nano" : 731241000,
    "epochSecond" : 1606233226
  },
  "updatedAt" : {
    "nano" : 731241000,
    "epochSecond" : 1606233226
  },
  "deletedAt" : null,
  "deletedBy" : null
}

Set Default For Organization

POST /session-configurations/default-organization/{organizationId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

organizationId

Object

false

Query parameters

No parameters.

Request fields

Path Type Optional Description

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

io.netfoundry.common.util.validation.ValidAs.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-organization/466f776b-8676-434d-9da8-d5c9ac5dc3ce' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ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Imxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.dL7MO0F0sqt8G4_dZ-dlh2t_tfEa3n-cqEqLGCUgVu52VnnM33gOFZCOsitRZNQNhy8PXIsPKYSxODadzPatXG9ohK0wGaOV7FNGGwy60b-uc0_C90tRw8i2Iiz3ybOgmrkG2K2vDTSU9SeCLKZlLktAXggd_AmRT2oNmTuFAprBnWG6f5wiu4EeZmgzb-FlCw1T-NDN6VBkR5n3COkX40rGp9qPOUQ7DlrcYi186SY7lht1g6rxjpJFdWDe6gHNHAy0kdHFZxVCoIYdVQTZHiovU1jCMqEUkaKs8OTeG0lf6GXOSDG9_Qb04IzJj9qptj7InOOQCsflJS56NKuEJQ' \
    -d '{"idleSessionTimeoutSeconds":321,"autoLogoutIdleSession":true}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 493

{
  "id" : "15dfd732-b6bf-4ba6-ac28-8697d3a32eb9",
  "organizationId" : "466f776b-8676-434d-9da8-d5c9ac5dc3ce",
  "identityProviderId" : null,
  "identityId" : null,
  "idleSessionTimeoutSeconds" : 321,
  "autoLogoutIdleSession" : true,
  "createdBy" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "createdAt" : {
    "nano" : 873411000,
    "epochSecond" : 1606233230
  },
  "updatedAt" : {
    "nano" : 873411000,
    "epochSecond" : 1606233230
  },
  "deletedAt" : null,
  "deletedBy" : null
}

Set Default For Identity Provider

POST /session-configurations/default-identity-provider/{identityProviderId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

identityProviderId

Object

false

Query parameters

No parameters.

Request fields

Path Type Optional Description

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

io.netfoundry.common.util.validation.ValidAs.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-identity-provider/dd0aed34-737c-4a1a-a85d-3e1357029f5e' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJZNTZYckl6bF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3RNb2RpZmllZFwiOjE2MDYyMzMxMzd9LHtcImlkXCI6XCJiOTIzNjMwMS00MDI5LTQ3NzEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCIyMjk5NzcyNC0wN2VhLTRkMmUtOGY3Mi00MjNiNDRhMDYyMGRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDZ9LHtcImlkXCI6XCJhYzJkOTg5MS1iNDY0LTQxNWUtOGUyNS00MDhiNTc4YjM1MjNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.im8L_bV3RigvVGksJI7dLu6YAXv5w0qvBOLzh2bv-ZCz2PZnEypfBbcf4GEWTIj6nTO7LOYq2PIgcTAwmPCAuMhz7fYmAw1lHRaNgDBCLz1GctfJflIT1igWRoLt59xtyLi_VjtnVrYYDuC2ZggLfNqRvX0xHQa564kri09dsnsZ-K3JdcFUh_3a4ltCMLgRfaTmZ3imn4UUyBlNB-b8nqlk4vDzkrjnvNEx66Qb0nnHuy8_EJ-C0DVRW8_cdiQMiDYiQBaA44jCXtji5XGWKDPdUC8tr0pwccwA429J80b5ldfliTRW8JFf618OiTvnS-0OYM3AOntMEzr9GMV2fQ' \
    -d '{"idleSessionTimeoutSeconds":321,"autoLogoutIdleSession":true}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527

{
  "id" : "0897be54-280f-49d8-b970-56c84a1692aa",
  "organizationId" : "28621ca8-f069-413e-a736-6d1b1749eff7",
  "identityProviderId" : "dd0aed34-737c-4a1a-a85d-3e1357029f5e",
  "identityId" : null,
  "idleSessionTimeoutSeconds" : 321,
  "autoLogoutIdleSession" : true,
  "createdBy" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "createdAt" : {
    "nano" : 290012000,
    "epochSecond" : 1606233227
  },
  "updatedAt" : {
    "nano" : 290012000,
    "epochSecond" : 1606233227
  },
  "deletedAt" : null,
  "deletedBy" : null
}

Set Default For Identity

POST /session-configurations/default-identity/{identityId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

identityId

Object

false

Query parameters

No parameters.

Request fields

Path Type Optional Description

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

io.netfoundry.common.util.validation.ValidAs.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

The id of this {@link SessionConfiguration}.

organizationId

String

true

The {@link Organization} id that this {@link SessionConfiguration} applies to. This should be set for all configurations other than the platform default configuration. Selection of a configuration is based on the most specific match between this property and the properties for the {@link IdentityProvider} and {@link Identity} ids.

identityProviderId

String

true

The {@link IdentityProvider} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to identities within a specific IdentityProvider. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link Identity} ids.

identityId

String

true

The {@link UserIdentity} id that this {@link SessionConfiguration} applies to. This is set when the configuration applies to a specific {@link UserIdentity}. This is often null, as most configurations occur at the {@link Organization} level. Selection of a configuration is based on the most specific match between this property and the properties for the {@link Organization} and {@link IdentityProvider} ids.

idleSessionTimeoutSeconds

Integer

true

The maximum number of seconds between API requests after which the next request will result in a new session being created. A value of -1 will result in a non-expiring session. A value of 0 will result in an instantly expiring session. All values > 0 will result in sessions that can timeout due to inactivity. See the auto-logout property for additional effects at session timeout.

Must be at least -1.

autoLogoutIdleSession

Boolean

true

When true, a session that becomes idle (see idle session timeout) will automatically be logged out. A logged out session will result in the rejection of future requests which use a token that was created prior to this session’s logout time.

createdBy

String

false

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

deletedBy

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-identity/e18cdb70-b02b-47cb-839a-2616948a19a7' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI1ZEZhSEVJa2lfbzVmd09nTmlmNkhBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjI4LCJleHAiOjE2MDYyMzY4MjgsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCIyYzk2NmFjMS05NTVmLTQ5ZjUtYjk2Ni02ODBiZDFkMWM3MGNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjd9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcImlkXCI6XCJjNjExZGEyMC01MDM0LTRiZjMtYjcwZC0zMTU5YWU1NzAxMzdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMTl9LHtcImlkXCI6XCJmNjI3Mzk4Ny1hZDkxLTRiNTItODdiMC0zM2MyNjM0ZjQ0N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YyMzMyMjB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.QU1Wyexy2A5rCI4lRbaQwtGIVMOT8AYJASZCa7XSztYZ1j3vuqFoJkqck7MbZikQxjvJXkGJjVy33YNPLmdLXwN52erIw6XNf0xxDoAJwwZhKyZggOhcflib9aZZUN2lmE-6B4Z-SuyMSjYOO6ETWZErFnik9qyJB_x9UXPlvNRdpnDRZFDG-UIBvQjxXeyEtIknFdxuy7zw2-rkaazhq_cOkbYDwBAq-5ikG8YPTq-DbXC2av8gMnJmzZLk2M5YQtsoi-g8TRgo2DrTYJPmIdVJGszbCgrxT2ubgJRrbBXETlPcoXd3yQXcXenRqkpB-a6DcpDYTWjPibn59EKijA' \
    -d '{"idleSessionTimeoutSeconds":321,"autoLogoutIdleSession":true}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527

{
  "id" : "d569c1b5-5275-4dc2-8c2c-9cfcae69c87b",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "identityProviderId" : "e18cdb70-b02b-47cb-839a-2616948a19a7",
  "identityId" : null,
  "idleSessionTimeoutSeconds" : 321,
  "autoLogoutIdleSession" : true,
  "createdBy" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "createdAt" : {
    "nano" : 784975000,
    "epochSecond" : 1606233228
  },
  "updatedAt" : {
    "nano" : 784975000,
    "epochSecond" : 1606233228
  },
  "deletedAt" : null,
  "deletedBy" : null
}

Delete Default For Organization

DELETE /session-configurations/default-organization/{organizationId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

organizationId

Object

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-organization/32a7ee15-f92a-46b0-a497-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04CS6KkoPsTj2Iku6POoISPhGA9O0jNE-D58RJt67Ag0-YFHsCmf1tR6Lmre6ncOvTarPaADkocvan5D8BvH4-MbIsXA9kf0Vwm2C_Ryxyeb4Xa5OKtS3x43XvK_3vyg1JgIJQJAlU4RA'

Example response

HTTP/1.1 204 No Content

Delete Default For Identity Provider

DELETE /session-configurations/default-identity-provider/{identityProviderId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

identityProviderId

Object

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-identity-provider/45acc873-e904-47c3-b09e-6a5aaceb6041' -i -X DELETE \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI5WXlDcDBzQWhvaFQ0ci1pVk1lWW93IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjI4LCJleHAiOjE2MDYyMzY4MjgsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCIyYzk2NmFjMS05NTVmLTQ5ZjUtYjk2Ni02ODBiZDFkMWM3MGNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjd9LHtcImlkXCI6XCIzNWQ1OTE4MS1mZjY0LTQ2NjEtYmE4Ni1iNGQ3OWZmZGNmNzFcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDJ9LHtcIml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zEtYjhjNy0wMzI1YWRiMDcwZTVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCIyMjk5NzcyNC0wN2VhLTRkMmUtOGY3Mi00MjNiNDRhMDYyMGRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDZ9LHtcImlkXCI6XCJhYzJkOTg5MS1iNDY0LTQxNWUtOGUyNS00MDhiNTc4YjM1MjNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.QwXPODBXh2JH_N5TnJvxgY53vjezQXLcWwtsFulYGQDtMAc3FbB2Z_Y6hs5zJcFwGBByXraSWPTitewf7rMvuslnG5uftOQFaQwXhSTRMRZGNZ_L9BDnRRl5bsT1ANgnT09Cu3CCriKjLQ6alSgk24qGaORsguDjWmFxhYUCXJtRIDWqeWqGEEYTHlZ3q1s4KR0v9mlzTS3jYs8gzmKAyxOQRAxFeqDRF-bFTW_t7uux4zPOJlWg0ZHB7FKDlBFTa_YsMj4OHcOTeM3TWsM2MqkTejOOYzOqesMIoLpAdBafUz3d2LBazEjFv4ohTeu5H3hWrzW-RHvsyDda6wskDw'

Example response

HTTP/1.1 204 No Content

Delete Default For Identity

DELETE /session-configurations/default-identity/{identityId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

identityId

Object

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/session-configurations/default-identity/0fb6d9d0-d047-4de2-a0e3-2ae9f7ef083b' -i -X DELETE \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJ3d3oxbjQwa0NpTGhCc1RXNXJiYV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ImlkXCI6XCIzZGZlMmQ0YS0yZmVkLTQ1ZmMtODgyYi04OTYyNjc3N2Q2MzVcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMzF9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.TUNss1zPg-0ZOh1FFg_on0m91WlssbHc_Lnt4VdWBQhPUBGppitthzNNm7D3bFMj3-ZO9Jlff5fM2yXJbQfT3TC2THCpBl_aJfn_qvVEJbm-amGylwPhlxc4qNe_s3EG1LWAzrmzw_5bchlIosqLoByMzWnBMUIiyQoTsAr4wNbFZWWgh6R-JsSNxhbz6P332sYjBOr_CKUJIVfv2XImLMHvle0ECyGzVUpjoZYzk1Bw8Ya3yXZQBgF86RhrVmouaRhGqFSSxktEkX5N8_t8YuZOPXH-xKtjBGrZuN2hruqSQ1I2Rxb9H03Hrj3IPUDCIUxbs2egTRA4B-8o3eVGKg'

Example response

HTTP/1.1 204 No Content

API Account Identity

Find Api Account Identities

GET /api-account-identities

Returns a set of {@link ApiAccountIdentity}s that are visible to the requesting client and optionally filtered based on the submitted request parameters.

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

tenantId

Object

true

Deprecated..

organizationId

Object

true

Restricts results to Identities in the specified Organization (by Organization’s id.).

name

String

true

contactEmail

String

true

active

Boolean

true

Restricts results to Identities with a matching active status.

includeDeleted

Boolean

true

Default value: 'false'.

provider

String

true

Must be one of [Auth0, Cognito].

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

organizationId

String

false

auth0ClientId

String

true

Size must be between 16 and 128 inclusive.

awsCognitoClientId

String

true

Size must be between 16 and 128 inclusive.

authenticationUrl

String

false

The OAuth2 url where a client credentials grant flow should be performed.

Size must be between 16 and 128 inclusive.

name

String

true

io.netfoundry.common.util.validation.BasicPattern.

contactEmail

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

description

String

false

Size must be between 0 and 2048 inclusive.

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

email

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJvSWxNa2FPZ29YX2tpVnNwZFUzNXpnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjIwLCJleHAiOjE2MDYyMzY4MjAsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCI3ZmIwYjZhNi0yNGVjLTQxMTktYTYxOS0wOGQ5ZWViMzAxZTFcIixcImxhc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IixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNjJ9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.cDfiD9UFUaiM29CiXfNhaKLAdStPZ1JpTHsjmnthIo4DLoVcHfZ0JZJ7g6jbRMgH_81aFaFlmGSOGeNMrLl53QbVazCJO8ox_eC1koku6XxVsu30ab31qc_YjsH31eVt-1sYhhjK_n0cs4hBDPHkr7--VzUfW93dC8B6yKmKzl1kPphqDHSLINTYygxYat4urJEPen4fKFkOGR-WDQhBgKzmZW5m5QMPmMdQFKpwN8Yi_L2zta5-bDDnrCT3FRQ1B1xHqZnv9uqjTOU1qaVUHWkCk6dr_eArxwCe4MDbB54PpvYdN-23s31g7ZYXRkfFM3CnZtF9iLg_F5MZh1HAdA'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2146

[ {
  "id" : "bb7a415a-3157-42c8-9842-ce78bfc186de",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ClientId" : "587a1a66-9f53-4f75-9e8e-1bb8b2259258",
  "awsCognitoClientId" : null,
  "authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
  "name" : "api-account",
  "contactEmail" : "no-reply@acme.com",
  "description" : "This is an ACME non-interactive API client.",
  "active" : true,
  "createdAt" : {
    "nano" : 271634000,
    "epochSecond" : 1606233130
  },
  "updatedAt" : {
    "nano" : 658015000,
    "epochSecond" : 1606233148
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "email" : "no-reply@acme.com",
  "type" : "ApiAccountIdentity"
}, {
  "id" : "13b279f0-f9fd-487d-b1c2-fe03459313bd",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ClientId" : "b819d404-200e-4f90-8e74-476e01b8dd9a",
  "awsCognitoClientId" : null,
  "authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
  "name" : "Robot",
  "contactEmail" : "robot@acme.com",
  "description" : "description here.",
  "active" : true,
  "createdAt" : {
    "nano" : 440024000,
    "epochSecond" : 1606233146
  },
  "updatedAt" : {
    "nano" : 335276000,
    "epochSecond" : 1606233147
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "email" : "robot@acme.com",
  "type" : "ApiAccountIdentity"
}, {
  "id" : "59423c15-cd33-4e15-ba6f-9010edd7958f",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ClientId" : "189f3755-3869-4e40-b0af-a0f5ca94ab0b",
  "awsCognitoClientId" : null,
  "authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
  "name" : "ACME Internal Service-44",
  "contactEmail" : "service.admin-45@acme.com",
  "description" : "updatable API Account description-46",
  "active" : true,
  "createdAt" : {
    "nano" : 995463000,
    "epochSecond" : 1606233150
  },
  "updatedAt" : {
    "nano" : 906535000,
    "epochSecond" : 1606233151
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "email" : "service.admin-45@acme.com",
  "type" : "ApiAccountIdentity"
} ]

Get Api Account Identity

GET /api-account-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}

Get an API Account Identity by its id.

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

The id of the desired Identity.

Client must have read action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

auth0ClientId

String

true

Size must be between 16 and 128 inclusive.

awsCognitoClientId

String

true

Size must be between 16 and 128 inclusive.

authenticationUrl

String

false

The OAuth2 url where a client credentials grant flow should be performed.

Size must be between 16 and 128 inclusive.

name

String

true

io.netfoundry.common.util.validation.BasicPattern.

contactEmail

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

description

String

false

Size must be between 0 and 2048 inclusive.

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

email

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/bb7a415a-3157-42c8-9842-ce78bfc186de' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJHVmozY1JESXFmNkp0RWxHMTdhMUNRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjIwLCJleHAiOjE2MDYyMzY4MjAsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOWJcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNTN9LHtcImlkXCI6XCI3ZmIwYjZhNi0yNGVjLTQxMT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Y0LTQxNWUtOGUyNS00MDhiNTc4YjM1MjNcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMyMjB9LHtcImlkXCI6XCJiMmNjMTJlZC02ZGY0LTQ4OWMtYTc3MC02MGZmMmU1Y2FmYzlcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNjJ9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.VgKHD0zI06NjmWhEe4-KsQQBTUDX6t-RSWzmYOfaST0yWqK_Q5HUCS5IhJwbHiw7ugfoP5knoBeHTWuHvli0Izg17A0rbjqwoEU2LWJp-G5gcqnmwGm9dXJn4xDW5BLkjVLlSB7YxHfqDXPNdDVoDEx87z1YOT1pNOHXIP3xqxJDpC5I6fSN7A5YhGE0Mn1g4ga0J50uFVwfspwrP8gugvx8U29aFUXyTt9I3DxMhXRsdE5LZXGxsfQEPZB7dp8PRR1o9TybN_YZEQsna9lgA73frNai__uZq9UFhzdAxqfte0lrUGdM7abjlZGa1Gt_KCZ1x3OFWvn-jsX362L-cA'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718

{
  "id" : "bb7a415a-3157-42c8-9842-ce78bfc186de",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ClientId" : "587a1a66-9f53-4f75-9e8e-1bb8b2259258",
  "awsCognitoClientId" : null,
  "authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
  "name" : "api-account",
  "contactEmail" : "no-reply@acme.com",
  "description" : "This is an ACME non-interactive API client.",
  "active" : true,
  "createdAt" : {
    "nano" : 271634000,
    "epochSecond" : 1606233130
  },
  "updatedAt" : {
    "nano" : 658015000,
    "epochSecond" : 1606233148
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "email" : "no-reply@acme.com",
  "type" : "ApiAccountIdentity"
}

Get Api Account Identity By Mapping

GET /api-account-identities/mapping/{clientId}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

clientId

String

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

auth0ClientId

String

true

Size must be between 16 and 128 inclusive.

awsCognitoClientId

String

true

Size must be between 16 and 128 inclusive.

authenticationUrl

String

false

The OAuth2 url where a client credentials grant flow should be performed.

Size must be between 16 and 128 inclusive.

name

String

true

io.netfoundry.common.util.validation.BasicPattern.

contactEmail

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

description

String

false

Size must be between 0 and 2048 inclusive.

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

email

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/mapping/d19c37fd-20f2-4820-a43c-d6243eaded11' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJUVUt5Vm5YME5qZVBndWVIc05XR3N3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjIxLCJleHAiOjE2MDYyMzY4MjEsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCI1MTBjYmRiOC03YzFmLTRiYzUtYmRkMy01Nzk1NDY3ZDlmOW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os63J6AbqEZiYqMZxo2B54rCzbkTL-STchptat09-KdT_3ogHR9CGUUlEaNdTOhiSweLVsOn-Mfl5Yl0hZkgbeVNmlUgQbtZ8n0coUhGq-DN_eVVptdM95WQh9LEvmsAvi3vAUv3p5BH-ZpiK5JmLktUJCyRA4iqQA'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 684

{
  "id" : "8b02123e-9e36-4b10-97b1-ac5df5451725",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ClientId" : "d19c37fd-20f2-4820-a43c-d6243eaded11",
  "awsCognitoClientId" : null,
  "authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
  "name" : "ACME Internal Service-59",
  "contactEmail" : "service.admin-60@acme.com",
  "description" : "updatable API Account description-61",
  "active" : true,
  "createdAt" : {
    "nano" : 437520000,
    "epochSecond" : 1606233221
  },
  "updatedAt" : null,
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "email" : "service.admin-60@acme.com",
  "type" : "ApiAccountIdentity"
}

Create Api Account Identity

POST /api-account-identities

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

organizationId

String

true

The id of the Organization within which this API Account should be created.

Client must have create action under the annotated resource.

name

String

true

The user friendly name to assign to the API Account Identity. This value is for ease of administration.

contactEmail

String

true

An arbitrary email address to associate to the API Account Identity. This value is mainly for administrative purposes, to provide a point of contact for someone that presumably is knowledgeable about the usage of this API Account Identity.

description

String

true

A free form description.

grantDefaultRoles

Boolean

true

Optional flag that when true will result in the API Account Identity being granted the 'default' roles (Organization and Network Group Admin, at this time.) When false, no authorization, roles or otherwise, will be configured, and it is assumed that the caller has permission to manage permissions of this API Account Identity after the fact. This defaults to true if not specified in the request.

provider

String

true

The authorization provider that should be used. Either Auth0 or Cognito. Auth0 is deprecated, and Cognito should be used moving forward. Support for Auth0 will be dropped at a future point in time.

Must be one of [Auth0, Cognito].

Response fields

Path Type Optional Description

apiAccountIdentity

Object

true

apiAccountIdentity.id

String

false

apiAccountIdentity.organizationId

String

false

apiAccountIdentity.auth0ClientId

String

true

Size must be between 16 and 128 inclusive.

apiAccountIdentity.awsCognitoClientId

String

true

Size must be between 16 and 128 inclusive.

apiAccountIdentity.authenticationUrl

String

false

The OAuth2 url where a client credentials grant flow should be performed.

Size must be between 16 and 128 inclusive.

apiAccountIdentity.name

String

true

io.netfoundry.common.util.validation.BasicPattern.

apiAccountIdentity.contactEmail

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

apiAccountIdentity.description

String

false

Size must be between 0 and 2048 inclusive.

apiAccountIdentity.active

Boolean

true

apiAccountIdentity.createdAt

Object

false

apiAccountIdentity.updatedAt

Object

false

apiAccountIdentity.deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

apiAccountIdentity.tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

apiAccountIdentity.email

String

true

apiAccountIdentity.type

String

true

clientId

String

true

The OAuth2 client id which must be passed to the OAuth2 provider at the specified authenticationUrl.

password

String

true

The OAuth2 client secret which must be passed to the OAuth2 provider at the specified authenticationUrl.

authenticationUrl

String

true

The url where the created client should authenticate, using a standard OAuth2 Client Credentials Grant Flow.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkNmw2VkJrTzhFZEdhcm5yX2hBZVFRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjM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2RpZmllZFwiOjE2MDYyMzMxNDh9LHtcImlkXCI6XCIyMjk5NzcyNC0wN2VhLTRkMmUtOGY3Mi00MjNiNDRhMDYyMGRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDZ9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.UZhyvtfkZWCqZvA1ChemonZvjx9tnIx7_n6cXBXszIwO7cF5miM_OAjGeKyF8MPMMMVDwACqFuhjSzz9gMJDwSt3nr_ZSsiOE3ghtE8a2VEdWgP9a20Pr6UwKVgpY00ut6bBWgLVMqSwjv99BH0vpWAbXkv4Ke7QEG-FyjYnsor6Vqn5E0vNIPlmGEd2ySk2nuYAWRyY8gjgkcRerx3yAkqfqNMRdAjZ3cI2jz9V96hDzwdDjaJ-6nqeCls2qfSf8b4AzNMe6AiKAyKCpyCU-72B2_36HutA5zFDgMwm72Q59HaLVsVvIyLspnQhh6K661_e7s_VbFdqBgKVjivcvQ' \
    -d '{"organizationId":"32a7ee15-f92a-46b0-a497-85e36ca35acb","name":"HR Bridge Service","contactEmail":"hr.director@acme.com","description":"description goes here","grantDefaultRoles":true,"provider":"Cognito"}'

Example response

HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 940

{
  "apiAccountIdentity" : {
    "id" : "11eee7b2-4b21-4788-90e3-c07a668ba56f",
    "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
    "auth0ClientId" : null,
    "awsCognitoClientId" : "068250ed-cf18-4a8c-9595-2a378d67ae4b|hcebeiqh",
    "authenticationUrl" : "https://netfoundry-test-oyqisr.auth.us-east-1.amazoncognito.com/oauth2/token",
    "name" : "HR Bridge Service",
    "contactEmail" : "hr.director@acme.com",
    "description" : "description goes here",
    "active" : true,
    "createdAt" : {
      "nano" : 799264000,
      "epochSecond" : 1606233160
    },
    "updatedAt" : null,
    "deletedAt" : null,
    "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
    "email" : "hr.director@acme.com",
    "type" : "ApiAccountIdentity"
  },
  "clientId" : "hcebeiqh",
  "password" : "qfmrbldsfatslbmmqhrhuijf",
  "authenticationUrl" : "https://netfoundry-test-oyqisr.auth.us-east-1.amazoncognito.com/oauth2/token"
}

Update Identity Info

PUT /api-account-identities/{id}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have update action on the annotated resource.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

contactEmail

String

true

description

String

true

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

auth0ClientId

String

true

Size must be between 16 and 128 inclusive.

awsCognitoClientId

String

true

Size must be between 16 and 128 inclusive.

authenticationUrl

String

false

The OAuth2 url where a client credentials grant flow should be performed.

Size must be between 16 and 128 inclusive.

name

String

true

io.netfoundry.common.util.validation.BasicPattern.

contactEmail

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

description

String

false

Size must be between 0 and 2048 inclusive.

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

email

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/13b279f0-f9fd-487d-b1c2-fe03459313bd' -i -X PUT \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJ0TFFPOEVSZTg2YXp1UEJZMnlBeVB3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1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jE4ODFhOS1hMDlhLTRlYmMtYTBiNS04YTU0MDQzOGY1MWZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzB9LHtcImlkXCI6XCIyMjk5NzcyNC0wN2VhLTRkMmUtOGY3Mi00MjNiNDRhMDYyMGRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxNDZ9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.Xxt7hzARwdmkPYSIAAgv_Wi1DAGcglZgXmxl64vMNR3v1_G_p-8lRGebWidTT5pOWmQK2wYiyQ5EG93PqDFj23xTs8WzdAUZ8g6envSs9Sy_uKkXje1iT0ZdMs25fpd7SjGSfWAdyut_8hk-F_ULj2g-WZo-NNFOmYQTPp40wGAYPga9tK-YLuXyF4noQJFT2Inqdx7eHRalW07PK9kht_HP7BFQXtYTyPywgsjqj5VTz41tNn-b64nXAW2v4hWrx9VeDpwLtUbMVsnSU4QDZiF_2R-WDshC-NgIQy0rR52wOe0oWDbd5gLt08zhpHl07k5bCqi4CYb78m6MzVVHnQ' \
    -d '{"name":"Robot","contactEmail":"robot@acme.com","description":"description here."}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 680

{
  "id" : "13b279f0-f9fd-487d-b1c2-fe03459313bd",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ClientId" : "b819d404-200e-4f90-8e74-476e01b8dd9a",
  "awsCognitoClientId" : null,
  "authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
  "name" : "Robot",
  "contactEmail" : "robot@acme.com",
  "description" : "description here.",
  "active" : true,
  "createdAt" : {
    "nano" : 440024000,
    "epochSecond" : 1606233146
  },
  "updatedAt" : {
    "nano" : 335276000,
    "epochSecond" : 1606233147
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "email" : "robot@acme.com",
  "type" : "ApiAccountIdentity"
}

Activate Or Deactivate Api Account Identity

PUT /api-account-identities/{id}/{action:activate|deactivate}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have update-active action on the annotated resource.

action

String

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

organizationId

String

false

auth0ClientId

String

true

Size must be between 16 and 128 inclusive.

awsCognitoClientId

String

true

Size must be between 16 and 128 inclusive.

authenticationUrl

String

false

The OAuth2 url where a client credentials grant flow should be performed.

Size must be between 16 and 128 inclusive.

name

String

true

io.netfoundry.common.util.validation.BasicPattern.

contactEmail

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

description

String

false

Size must be between 0 and 2048 inclusive.

active

Boolean

true

createdAt

Object

false

updatedAt

Object

false

deletedAt

Object

true

Returns the date that the identity was deleted or null if the identity has not been deleted. Note, identities are marked as deleted and not returned from searches unless explicitly requested.

tenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getOrganizationId().

Returns the id of the {@link Organization} that this identity is a member of.

email

String

true

type

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/f8fe0142-5e75-4a5d-b705-ef4d8b1b967a/deactivate' -i -X PUT \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJZNkVCUktvMnduY1N5WUZVbDFiblNBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMjIwLCJleHAiOjE2MDYyMzY4MjAsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1c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Gmp7rCtjekdL7VEpoImB7SMQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 740

{
  "id" : "f8fe0142-5e75-4a5d-b705-ef4d8b1b967a",
  "organizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "auth0ClientId" : "4911580c-7835-4518-b0d5-f502fbb98c71",
  "awsCognitoClientId" : null,
  "authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
  "name" : "ACME Internal Service-53",
  "contactEmail" : "service.admin-54@acme.com",
  "description" : "updatable API Account description-55",
  "active" : false,
  "createdAt" : {
    "nano" : 704798000,
    "epochSecond" : 1606233220
  },
  "updatedAt" : {
    "nano" : 16586000,
    "epochSecond" : 1606233221
  },
  "deletedAt" : null,
  "tenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "email" : "service.admin-54@acme.com",
  "type" : "ApiAccountIdentity"
}

Invitation

Find Invitations

GET /invitations

Returns a set of Invitation instances based on the optional query parameters. The results will be constrained to the invitations that the client has authorization to view. Results may be further constrained by the setting any combination of query parameter values, which will logically AND’d together to form a filter for matching invitations. The states query parameter, unlike others, supports multiple values. For example, to retrieve a list of active invitations, specify states=Open,Declined,Expired.

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

fromIdentityId

Object

true

The id of the identity that created the target invitation(s).

toTenantId

Object

true

Deprecated..

toOrganizationId

Object

true

The id of the organization that the resulting invitations are inviting into.

invitedEmailAddress

String

true

A full (no partial match support) email address to match against.

targetIdentityId

Object

true

The id of the identity that the invitation will/has assumed.

states

Object

true

One or more {@link State} names to restrict the invitations returned.

Must be one of [Open, Accepted, Declined, Expired, Revoked].

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

fromIdentityId

String

false

toOrganizationId

String

false

invitedEmailAddress

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

expiration

Object

false

targetUserIdentityId

String

true

Optional. The identity id that the invited party will be mapped to should they accept the invite.

accepted

Boolean

true

revokedAt

Object

true

The date-time that this invitation was revoked. If null, then this invitation has not been revoked. An open invitation (accepted == null) can be revoked, which will prevent the invitation from being accepted or declined by a user. The accepted state remains null to reflect that it was never accepted or declined. A declined or expired invitation can be revoked after the fact. An accepted invitation can not be revoked retroactively. Finally, revoking an invitation is a terminal operation. Once revoked, no other action can be taken.

responseReceivedAt

Object

true

The date-time that this invitation was marked as accepted or declined. If null, then there has been no response (accept or decline) of this invitation. This is effectively the update timestamp of the accepted property of an invitation.

toTenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getToOrganizationId().

Returns the id of the {@link Organization} that the recipient is being invited to join.

state

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJtQWdudldRRm9URXRBUFJTUXh1bzhBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQyLCJleHAiOjE2MDYyMzY3NDIsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCI3ZmIwYjZhNi0yNGVjLTQxMTktYTYxOS0wOGQ5ZWViMzAxZTFc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Xzk1jQLILwM3yq1NXdNPnBNnRGl_C8d9YpWKdb4XqBRw_Pw6U4PLiVHz2CKlTTl0sJu7n_328XcxDG-dmA2s0wrgskORsJW4ZX_DleN3xUII7dGuCUM1ai7IAUCcwRdTBTiBbOkB-GXzNawLrzfwS48ENiOaPA0taNTNZt-O_gn46A6QFilJ1Ts5aSAitEve_PKpw5j7Jv0S4fO88SEuodkzTRwQu4j-WtIZ1JJJ8Z9YmyxQKWyEnwXvlEipXkPCEyL0Rrqg9kMWy03oazU7PIDoZQ7uPG7rnSQqaFt-USLWybMo5Qr5urlfGupcE6xrHwahGLwlwTWTPvyWEAVjg'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 526

[ {
  "id" : "d6cd4acf-edf6-4fd0-aa8a-96aed8b9e8a3",
  "fromIdentityId" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "toOrganizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "invitedEmailAddress" : "new.employee@acme.com",
  "expiration" : {
    "nano" : 19227000,
    "epochSecond" : 1606837942
  },
  "targetUserIdentityId" : "95e6b669-8f57-417e-bee6-4e54448781a8",
  "accepted" : null,
  "revokedAt" : null,
  "responseReceivedAt" : null,
  "toTenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "state" : "Open"
} ]

Get Invitation By Id

GET /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have read action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

fromIdentityId

String

false

toOrganizationId

String

false

invitedEmailAddress

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

expiration

Object

false

targetUserIdentityId

String

true

Optional. The identity id that the invited party will be mapped to should they accept the invite.

accepted

Boolean

true

revokedAt

Object

true

The date-time that this invitation was revoked. If null, then this invitation has not been revoked. An open invitation (accepted == null) can be revoked, which will prevent the invitation from being accepted or declined by a user. The accepted state remains null to reflect that it was never accepted or declined. A declined or expired invitation can be revoked after the fact. An accepted invitation can not be revoked retroactively. Finally, revoking an invitation is a terminal operation. Once revoked, no other action can be taken.

responseReceivedAt

Object

true

The date-time that this invitation was marked as accepted or declined. If null, then there has been no response (accept or decline) of this invitation. This is effectively the update timestamp of the accepted property of an invitation.

toTenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getToOrganizationId().

Returns the id of the {@link Organization} that the recipient is being invited to join.

state

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/8cb425b3-4f53-4387-a2ec-44da16e20f02' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJ1NnQ1elBZWWM4bGNzMmZrRGJYVF9nIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQzLCJleHAiOjE2MDYyMzY3NDMsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOWItYjU5YS04YWNkY2E5MzU2YjRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9LHtcImlkXCI6XCI3ZmIwYjZhNi0yNGVjLTQxMTktYTYxOS0wOGQ5ZWViMzAxZTFcIixcImxhc3RNb2RpZmllZ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5Yy1jNzAxLTRmYTktYjEzYS1jY2MyMjBhOWRkYjdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.HQKevXNkCO0VD7t4FJjFqCUxRvrZ2r6AFBIDw_LN5R_iaoz_xs3AOsf91Syz46oaSDn4X1Kj0BTrAhodR9Nfhkk9SX0VO1cfCrm9QIgksfWuNuVyIst9lI-7sSsF0DxdlYEGnZdn_Dh7XINuA3anQ1Jk28lY8YG14waUwZO7IhiTEZcnLF7h0rwDEuY3iHYVKs6myL5uqWqu6wEJvhOiRYMq18SIBBxF0u2ptp57dnWerecTxZD8BrPHFBefE_bR820_RRYEDUTp9JfnSnKR2DAx1MWyA0h8h_NVjKoYEH-7TcANQypRFsTnVx_mfge-FSX73Gn4lCCFJNjPOEcN9Q'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 526

{
  "id" : "8cb425b3-4f53-4387-a2ec-44da16e20f02",
  "fromIdentityId" : "474044d7-30ea-448d-8b59-0f27a337dbc2",
  "toOrganizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "invitedEmailAddress" : "new.employee-32@acme.com",
  "expiration" : {
    "nano" : 438924000,
    "epochSecond" : 1606837943
  },
  "targetUserIdentityId" : "4fb18005-011f-4e79-954c-4b68f3d4e053",
  "accepted" : null,
  "revokedAt" : null,
  "responseReceivedAt" : null,
  "toTenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "state" : "Open"
}

Create Invitation

POST /invitations

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

toOrganizationId

String

true

Client must have create action under the annotated resource.

invitedEmailAddress

String

true

invitationUrl

String

false

targetUserIdentityId

String

true

Client must have read action on the annotated resource.

Response fields

Path Type Optional Description

id

String

false

fromIdentityId

String

false

toOrganizationId

String

false

invitedEmailAddress

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

expiration

Object

false

targetUserIdentityId

String

true

Optional. The identity id that the invited party will be mapped to should they accept the invite.

accepted

Boolean

true

revokedAt

Object

true

The date-time that this invitation was revoked. If null, then this invitation has not been revoked. An open invitation (accepted == null) can be revoked, which will prevent the invitation from being accepted or declined by a user. The accepted state remains null to reflect that it was never accepted or declined. A declined or expired invitation can be revoked after the fact. An accepted invitation can not be revoked retroactively. Finally, revoking an invitation is a terminal operation. Once revoked, no other action can be taken.

responseReceivedAt

Object

true

The date-time that this invitation was marked as accepted or declined. If null, then there has been no response (accept or decline) of this invitation. This is effectively the update timestamp of the accepted property of an invitation.

toTenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getToOrganizationId().

Returns the id of the {@link Organization} that the recipient is being invited to join.

state

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJCaGphU0U5d2FJN0Y5QnB1ZFBvRWRnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQwLCJleHAiOjE2MDYyMzY3NDAsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0MGEtODllOS05NTA1MjVlYTA5M2ZcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzN9LHtcImlkXCI6XCIwNzFkMWY2My1hNDJjLTQwOW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cy1zdGFuZGFyZCI6IltdIn0.Mpw2S87KGqzormDF42mMGVrT6KGSmD_o8viK-p86zAvL_L2t3by1SWZzsgfQf-TqeEUCy-AGq6rILJm6TSjBQ7RcVbVQ7kd29z9PASmhc-5SBp_M4iWJ1E4sxLQF8tl2tsIBIevk_vkAwhdOWb0Vd10MwjxJwbvw_NmJEoy-vStQvw_Ut3CsFclxxsGrZ6RGQFeylj8uIq7v1Zj2iqYn1lug3s6RB2_B93mhZ-cAQ4K6I5aVcV_ep931QjFUvWmC3V_n2ek1g3Q7B41rSSwRnch3U10A0HAZws_irAspxRs0UYXWb8TvOVY_QObtxb74WLACRshu3p85O0V1wCjThQ' \
    -d '{"toOrganizationId":"32a7ee15-f92a-46b0-a497-85e36ca35acb","invitedEmailAddress":"new.employee@acme.com","invitationUrl":"http://acme.console.netfoundry.io/invitation","targetUserIdentityId":"95e6b669-8f57-417e-bee6-4e54448781a8"}'

Example response

HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 522

{
  "id" : "d6cd4acf-edf6-4fd0-aa8a-96aed8b9e8a3",
  "fromIdentityId" : "e7b1bf23-ae37-4a26-a5ff-c42defad2b89",
  "toOrganizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "invitedEmailAddress" : "new.employee@acme.com",
  "expiration" : {
    "nano" : 19227000,
    "epochSecond" : 1606837942
  },
  "targetUserIdentityId" : "95e6b669-8f57-417e-bee6-4e54448781a8",
  "accepted" : null,
  "revokedAt" : null,
  "responseReceivedAt" : null,
  "toTenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "state" : "Open"
}

Respond To Invitation

PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/{action:accept|decline}

This is not the typical way to accept or decline an invitation. See {@link InvitationFlowController}. This service is a straight update of the Invitation. It does not map the calling user, nor any other related activity. It simply updates the state of the Invitation.

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have update-respond action on the annotated resource.

action

String

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

fromIdentityId

String

false

toOrganizationId

String

false

invitedEmailAddress

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

expiration

Object

false

targetUserIdentityId

String

true

Optional. The identity id that the invited party will be mapped to should they accept the invite.

accepted

Boolean

true

revokedAt

Object

true

The date-time that this invitation was revoked. If null, then this invitation has not been revoked. An open invitation (accepted == null) can be revoked, which will prevent the invitation from being accepted or declined by a user. The accepted state remains null to reflect that it was never accepted or declined. A declined or expired invitation can be revoked after the fact. An accepted invitation can not be revoked retroactively. Finally, revoking an invitation is a terminal operation. Once revoked, no other action can be taken.

responseReceivedAt

Object

true

The date-time that this invitation was marked as accepted or declined. If null, then there has been no response (accept or decline) of this invitation. This is effectively the update timestamp of the accepted property of an invitation.

toTenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getToOrganizationId().

Returns the id of the {@link Organization} that the recipient is being invited to join.

state

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/77c97107-7aba-4654-8579-8f3996e777b2/decline' -i -X PUT \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJrVHhlVnRUX3RydWtHeGxnX1ZrVjZ3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQyLCJleHAiOjE2MDYyMzY3NDIsInBvbGljaWVzIjpbeyJyZXNvdXJjZXMiOlsibmZybjoqIl0sImFjdGlvbnMiOlsiKjoqIl19XSwiZ3JhbnRzLXN1cGVyIjoiW3tcImlkXCI6XCIwMzQ1MGVhYi03Y2E1LTQ0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ZFwiOjE2MDYyMzMxMzR9LHtcImlkXCI6XCJkZTQ2YTBjMC0yZmRiLTRmZTktOTAxMy00YTg4MmViMjFiMWRcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzl9LHtcImlkXCI6XCJlMTRhMTI5Yy1jNzAxLTRmYTktYjEzYS1jY2MyMjBhOWRkYjdcIixcImxhc3RNb2RpZmllZFwiOjE2MDYyMzMxMzV9XSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbXSIsImdyYW50cy1zdGFuZGFyZCI6IltdIn0.B6rz1WUwtFXew_QBBhTORe-PidC9PsUTd_qpOkTxMbWNBWATDQjDHRqCCMKYD5sNNKwuPfsqzLc7kVpLVM5xUjj_vmipaerm76pjq5lblSW4zFw86qM8mdZTzMWBiTbZwzNH81nBxfh8yyQu8Fj-ZgMzUJUTJl8c_FHLTSFQ0yXuLInhakA2wjCEU06vSfCW4hFDh4AKkdRV9seSfZdSneLD-z_XMUp4ICGsctOXtd0S4TxahReb469B1Hv2J7QfnM_j0uxEj5ZY__evHp0FC0xCyL6JSQxrMKZmHGsSmhn0LC9-VjNA-un5Mj7hxYZeK-DE5qBamWJ5RkrZ1HbNuw'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 587

{
  "id" : "77c97107-7aba-4654-8579-8f3996e777b2",
  "fromIdentityId" : "474044d7-30ea-448d-8b59-0f27a337dbc2",
  "toOrganizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "invitedEmailAddress" : "new.employee-29@acme.com",
  "expiration" : {
    "nano" : 627296000,
    "epochSecond" : 1606837942
  },
  "targetUserIdentityId" : "a175582e-17eb-42c4-8a25-60ef1b67fbe2",
  "accepted" : false,
  "revokedAt" : null,
  "responseReceivedAt" : {
    "nano" : 351137000,
    "epochSecond" : 1606233143
  },
  "toTenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "state" : "Declined"
}

Revoke Invitation

PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/revoke

This service will revoke the specified invitation if it is in a state that permits revoke.

Authorization

Valid Authorization Bearer token required, along with a permission grant authorizing access to any referenced resources.

Path parameters

Parameter Type Optional Description

id

Object

false

Client must have update-revoke action on the annotated resource.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

fromIdentityId

String

false

toOrganizationId

String

false

invitedEmailAddress

String

false

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

expiration

Object

false

targetUserIdentityId

String

true

Optional. The identity id that the invited party will be mapped to should they accept the invite.

accepted

Boolean

true

revokedAt

Object

true

The date-time that this invitation was revoked. If null, then this invitation has not been revoked. An open invitation (accepted == null) can be revoked, which will prevent the invitation from being accepted or declined by a user. The accepted state remains null to reflect that it was never accepted or declined. A declined or expired invitation can be revoked after the fact. An accepted invitation can not be revoked retroactively. Finally, revoking an invitation is a terminal operation. Once revoked, no other action can be taken.

responseReceivedAt

Object

true

The date-time that this invitation was marked as accepted or declined. If null, then there has been no response (accept or decline) of this invitation. This is effectively the update timestamp of the accepted property of an invitation.

toTenantId

String

true

Deprecated. The Tenant resource has been renamed to Organization. Use getToOrganizationId().

Returns the id of the {@link Organization} that the recipient is being invited to join.

state

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/e49a66c8-c85e-4a34-9a17-cf0ec0b6118b/revoke' -i -X PUT \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJVUE5NeE0wYjM2ZXlpcnk0UjdTWWt3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU3YjFiZjIzLWFlMzctNGEyNi1hNWZmLWM0MmRlZmFkMmI4OSIsImF1ZCI6ImlkZW50aXR5IiwiaWF0IjoxNjA2MjMzMTQzLCJleHA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type: application/json
Content-Length: 641

{
  "id" : "e49a66c8-c85e-4a34-9a17-cf0ec0b6118b",
  "fromIdentityId" : "474044d7-30ea-448d-8b59-0f27a337dbc2",
  "toOrganizationId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "invitedEmailAddress" : "new.employee-35@acme.com",
  "expiration" : {
    "nano" : 883216000,
    "epochSecond" : 1606837943
  },
  "targetUserIdentityId" : "3b07dcc3-7235-4806-80a9-2c3f1377f58d",
  "accepted" : null,
  "revokedAt" : {
    "nano" : 250159000,
    "epochSecond" : 1606233144
  },
  "responseReceivedAt" : {
    "nano" : 250164000,
    "epochSecond" : 1606233144
  },
  "toTenantId" : "32a7ee15-f92a-46b0-a497-85e36ca35acb",
  "state" : "Revoked"
}

Support

Create Support Request

POST /nfconsole/support/requests

Authorization

Authorization not required for this request.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

The name of the user. This is a required value if the request is submitted by a client that is not currently authenticated. In this unauthenticated case, this name is used in the support request ticket that is created. If the request comes from an authenticated client, then this property should be ignored (not sent), as the API will overwrite it with the name of the authenticated identity.

Size must be between 1 and 2147483647 inclusive.

email

String

true

The email of the user. This is a required value if the request is submitted by a client that is not currently authenticated. In this unauthenticated case, this email is used in the support request ticket that is created. If the request comes from an authenticated client, then this property should be ignored (not sent), as the API will overwrite it with the email of the authenticated identity.

Must be a well-formed email address.

selectedOrganizationId

String

true

The id of an organization which the current user has selected as his working context at the time that this support request is being generated. This value may be null in most cases as it only applies to users with access to more than one organization. This value is ignored if the support request comes from a user that is not logged in.

selectedNetworkId

String

true

The id of a network which the current user has selected as his working context at the time that this support request is being generated. This value may be null, particularly if the client is submitting the support request from a context that is not network specific. However, if the user is working in a context (ie, a 'page' that lists AppWans) that is network specific, then this value can help support agents when reviewing the support request. This value is ignored if the support request comes from a user that is not logged in.

subject

String

false

The support request subject. This value is required and can not be empty.

comment

String

false

The support request message. This value is required and can not be empty.

type

String

true

The type of the support request. If not specified, the type will default to "question".

Must be one of [problem, incident, question, task].

priority

String

true

The priority of the support request. If not specified, the type will default to "normal".

Must be one of [urgent, high, normal, low].

recentErrorMessages

Array[String]

true

An optional list of error messages received from the API by the client. These should be in order from most recent to oldest. These provide contextual information for the agent handling the support request. These are not required, but clients are encouraged to track and supply such error messages to aid in support. Note, an interactive user (ie human) should not provide this information; it should be tracked and added by the client agent on their behalf.

Response fields

No response body.

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/nfconsole/support/requests' -i -X POST \
    -H 'Content-Type: application/json' \
    -d '{"name":"Curious George","email":"george@curious-client.com","selectedOrganizationId":null,"selectedNetworkId":null,"subject":"Sales Contact Request","comment":"This looks great!  I'd like a sales rep to contact me.","type":"question","priority":"high","recentErrorMessages":null}'

Example response

HTTP/1.1 200 OK

Sign-up Flow

Check Email

GET /signup

This service allows a client to validate that the submitted email may be used during the sign-up process. Not all email addresses are supported, and clients are encouraged to use this service to check before getting an error from the sign-up service.

Authorization

Authorization not required for this request.

Path parameters

No parameters.

Query parameters

Parameter Type Optional Description

checkEmail

String

false

The email address to check.

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

provider

String

true

Request fields

No request body.

Response fields

Path Type Optional Description

checkEmail

String

false

The email address that whose status was checked.

Must be a well-formed email address.
Size must be between 6 and 254 inclusive.

status

String

false

The current status of the checked email address.

Must be one of [VALID, BLACKLISTED].

Example request, valid

$ curl 'https://gateway.netFoundry.io/identity/v1/signup?checkEmail=white.hat@trusted.com' -i -X GET

Example response, valid

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 66

{
  "checkEmail" : "white.hat@trusted.com",
  "status" : "VALID"
}

Example request, blacklisted

$ curl 'https://gateway.netFoundry.io/identity/v1/signup?checkEmail=black.hat@untrusted.com' -i -X GET

Example response, blacklisted

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 74

{
  "checkEmail" : "black.hat@untrusted.com",
  "status" : "BLACKLISTED"
}

Find Identity Provider Types

GET /identity-provider-types

This service provides a list of available IdentityProviderTypes. It does not require authentication, as any client that is preparing to create a new Organization via the sign-up process must be able to list the set of IdentityProviderTypes to the user prior to creation of the Organization.

Authorization

Authorization not required for this request.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

[].id

String

false

Unique id of this IdentityProviderType instance.

[].identityProviderTypeName

String

false

A simple label for display to a human user.

Size must be between 1 and 128 inclusive.

[].auth0ConnectionId

String

false

An opaque value used by Auth0 to identify their Identity Provider.

Size must be between 1 and 128 inclusive.

[].auth0ConnectionType

String

false

One of four types of connections that Auth0 supports.

Must be one of [Database, Social, Enterprise, Passwordless].

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/identity-provider-types' -i -X GET

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 391

[ {
  "id" : "91cff470-70d9-4e99-bfd8-3c7920d6a552",
  "identityProviderTypeName" : "Simple Username/Password",
  "auth0ConnectionId" : "Username-Password-Authentication",
  "auth0ConnectionType" : "Database"
}, {
  "id" : "474342c9-9d52-4da8-ba20-3ad04a9666b1",
  "identityProviderTypeName" : "Google Account",
  "auth0ConnectionId" : "google-oauth2",
  "auth0ConnectionType" : "Social"
} ]

Signup

POST /signup

This service can be used to create a new Organization. The client specifies a basic set of Organization information, such as a descriptive name and a site label, as well as other configuration details. The client must specify how the Organization wishes to authenticate its users by passing one or more specifications for an IdentityProvider. A client may call the Find Identity Provider Types service to preview a list of available authentication mechanisms. Finally, the client must specify user information for the initial 'root' user of the Organization. Upon successful completion of the service request, the API Server will send the user an email with instructions to complete the sign-up process. Note, the API Server does not permit sending invitations to all email addresses. A client may check to see if an email address is supported by calling the Check Email Address service prior to calling this sign-up service.

Authorization

Authorization not required for this request.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

organizationName

String

true

A human friendly name for the Organization. This will become the Organization’s name property.

io.netfoundry.common.util.validation.ValidAs.

organizationLabel

String

true

A domain name label, used to compose the Organization’s custom site domain. The value can be 1 to 63 alpha-numeric or hyphen characters, but may not begin or end with a hyphen.

io.netfoundry.common.util.validation.ValidAs.

identityProviders

Array[Object]

false

A non-empty set of identity providers that the Organization should allow users to login through.

io.netfoundry.common.util.validation.ValidAs.

identityProviders[].name

String

true

A human friendly name for the IdentityProvider. This value is specific to the Organization, even if the authentication mechanism is shared across many Organizations (social based authentication being a prime example.).

io.netfoundry.common.util.validation.ValidAs.

identityProviders[].identityProviderTypeId

String

false

The IdentityProviderType.id of the IdentityProviderType to create and use within the Organization. See service to get a list of available IdentityProviderTypes.

signupUrl

String

false

A fully qualified http or https url where the sign-up email will link to, so that the sign-up user may complete the sign-up process.

billingInfo

Object

true

billingInfo.type

String

true
true
true
true
true

If type is trial, then the Billing organization will be setup as trial.
If type is Enterprise, then the Billing organization will be setup as Enterprise.

Must be one of [Trial, AWS, Stripe, Enterprise].
Must be one of [Trial, AWS, Stripe, Enterprise].
Must be one of [Trial, AWS, Stripe, Enterprise].
Must be one of [Trial, AWS, Stripe, Enterprise].

billingInfo.customerEmail

String

true
true

billingInfo.productId

String

true
false

The product Id to use for billing AWS market place customer.

billingInfo.customerId

String

false

The customer Id to use for billing aws market place customer. If the type is AWS and customer Id is provided, then the Billing organization will be setup as enterprise.

billingInfo.stripeCardToken

String

false

The token from Stripe for the card to use for billing. If the type is stripe and stripeCardToken is provided, then the Billing organization will be setup as self-service.

adminUsers

Array[Object]

false

An ordered list of initial user accounts to create within this organization. All will be granted administrative access. The first will be the primary billing contact.

adminUsers[].firstName

String

true

The given name to assign to the initial user Identity.

io.netfoundry.common.util.validation.ValidAs.

adminUsers[].lastName

String

true

The family name to assign to the initial user Identity.

io.netfoundry.common.util.validation.ValidAs.

adminUsers[].email

String

true

The email address to assign to the initial user Identity. This is also the email address when the sign-up invitation will be sent.

io.netfoundry.common.util.validation.ValidAs.

adminUsers[].countryCode

String

true

The country name to assign to the hubspot contact.

Must be one of [AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, UM, VG, VI, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, HR, CU, CW, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, CI, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, KP, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, XK, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, KR, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UY, UZ, VU, VE, VN, WF, EH, YE, ZM, ZW].

adminUsers[].zip

String

true

The zip code used to retrieve a US based customer’s state.

Size must be between 0 and 32 inclusive.

Response fields

Path Type Optional Description

success

Boolean

true

error

String

true

Must be one of [TenantLabelTaken, InvalidIdentityProviderType, EmailBlocked, BillingError, UnknownServerError].

errorDetail

String

true

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/signup' -i -X POST \
    -H 'Content-Type: application/json' \
    -d '{"organizationName":"Global Gadgets Inc.-162","organizationLabel":"Global-Gadgets-163","identityProviders":[{"name":"GG Auth1-160","identityProviderTypeId":"91cff470-70d9-4e99-bfd8-3c7920d6a552"},{"name":"GG Auth2-161","identityProviderTypeId":"474342c9-9d52-4da8-ba20-3ad04a9666b1"}],"signupUrl":"https://nfadmin.console.netfoundry.io/signup","billingInfo":{"type":"Trial","customerEmail":"user@email.com","productId":"plan01","type":"Trial"},"adminUsers":[{"firstName":"Sally","lastName":"Cook","email":"sally.cook@globalGadgets.com","countryCode":"US","zip":"14530"}]}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 64

{
  "success" : true,
  "error" : null,
  "errorDetail" : null
}

Invitation Flow

Get Invitation By Key

GET /invitations/key/{key:[\p{Alnum}]{36}}

Authorization

Authorization not required for this request.

Path parameters

Parameter Type Optional Description

key

String

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

fromIdentity

Object

false

fromIdentity.name

String

true

fromIdentity.email

String

false

Size must be between 6 and 254 inclusive.

targetIdentity

Object

true

targetIdentity.name

String

true

targetIdentity.email

String

false

Size must be between 6 and 254 inclusive.

invitedEmailAddress

String

false

Must be a well-formed email address.

toOrganizationName

String

false

toOrganizationLabel

String

false

expiration

Object

false

accepted

Boolean

true

state

String

false

Must be one of [Open, Accepted, Declined, Expired, Revoked].

toTenantName

String

true

Deprecated..

toTenantLabel

String

true

Deprecated..

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/0XVWM6sawvFBWfi5loW66DQ1P2RMViOn9CDn' -i -X GET

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519

{
  "fromIdentity" : {
    "name" : "John Doe",
    "email" : "john.doe@acme.com"
  },
  "targetIdentity" : {
    "name" : "First Last",
    "email" : "random-157@acme.com"
  },
  "invitedEmailAddress" : "new.employee-159@acme.com",
  "toOrganizationName" : "ACME International, Inc.",
  "toOrganizationLabel" : "ACME-0",
  "expiration" : {
    "nano" : 321895000,
    "epochSecond" : 1606838048
  },
  "accepted" : null,
  "state" : "Open",
  "toTenantName" : "ACME International, Inc.",
  "toTenantLabel" : "ACME-0"
}

Decline Invitation

PUT /invitations/key/{key:[\p{Alnum}]{36}}/decline

Authorization

Authorization not required for this request.

Path parameters

Parameter Type Optional Description

key

String

false

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

fromIdentity

Object

false

fromIdentity.name

String

true

fromIdentity.email

String

false

Size must be between 6 and 254 inclusive.

targetIdentity

Object

true

targetIdentity.name

String

true

targetIdentity.email

String

false

Size must be between 6 and 254 inclusive.

invitedEmailAddress

String

false

Must be a well-formed email address.

toOrganizationName

String

false

toOrganizationLabel

String

false

expiration

Object

false

accepted

Boolean

true

state

String

false

Must be one of [Open, Accepted, Declined, Expired, Revoked].

toTenantName

String

true

Deprecated..

toTenantLabel

String

true

Deprecated..

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/57aOoXlFGc2v9Bjpgm9yPYQjEzJI0JNFWw4t/decline' -i -X PUT

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 524

{
  "fromIdentity" : {
    "name" : "John Doe",
    "email" : "john.doe@acme.com"
  },
  "targetIdentity" : {
    "name" : "First Last",
    "email" : "random-154@acme.com"
  },
  "invitedEmailAddress" : "new.employee-156@acme.com",
  "toOrganizationName" : "ACME International, Inc.",
  "toOrganizationLabel" : "ACME-0",
  "expiration" : {
    "nano" : 265976000,
    "epochSecond" : 1606838048
  },
  "accepted" : false,
  "state" : "Declined",
  "toTenantName" : "ACME International, Inc.",
  "toTenantLabel" : "ACME-0"
}

Initiate Accept Invitation

POST /invitations/key/{key:[\p{Alnum}]{36}}/accept-initiate

Authorization

Authorization not required for this request.

Path parameters

Parameter Type Optional Description

key

String

false

Query parameters

No parameters.

Request fields

Path Type Optional Description

intermediateReturnUrl

String

false

Response fields

Path Type Optional Description

nfToken

String

false

auth0ConnectionIds

Array[String]

false

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/e5kutb9q3IxHGKT6nEU5jB0xXz0AW9ADtN68/accept-initiate' -i -X POST \
    -H 'Content-Type: application/json' \
    -d '{"intermediateReturnUrl":"http://console.nfadmin.netfoundry.io/invitation"}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1055

{
  "nfToken" : "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0xIiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0yIl0sIm9yZ2FuaXphdGlvbklkIjoiZTM0ODUyOGQtZGMwMi00OGRjLWFhNDItODk2MGQ4NTk2ZTMzIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24iLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvaWRlbnRpdHkvdjEiLCJ0ZW5hbnRMYWJlbCI6IkFDTUUtMCIsImludml0YXRpb25JZCI6IjdhMDUwZGU0LTVlMTQtNDI3Ny05MjljLWM4NGQ2MWQwMjdmZCIsImV4cCI6MTYwNjIzNDE0OCwiaWF0IjoxNjA2MjMzMjQ4LCJmbG93IjoiaW52aXRhdGlvbiJ9.NpaWMKUpyFelZMEqpTLINDUkCHeJP0yasKDG2XC4bv6MIjBqIgvXy0du4-3fNpsKRNk75CdGw9MihvobUaGIB53PFNqqYKUMk0z7V9JEvNsXlslydxzQxpse5B9ta6tbPqIZ6ZEztqZbzONe-lShp1sDL5lN1NZi8UDKNnavzlVAf07nBb7vtqJnWwViGvlbZARXwvVIi50HEDzypVuehyhPjFmeg2gNXaKYcepNYkDIYUUIqfXDFXbyKccXfPrZLbis6-x3yVCYnD0scSTRjAuyPROK-WnGYj1Dll7oq4nTSygRwkjyTZOtghk4QPUIlLvX-bFNhOIpW8z_SwjDkA",
  "auth0ConnectionIds" : [ "auth0-opaque-connectionId-1", "auth0-opaque-connectionId-2" ]
}

Login Flow

Initiate Interactive Authorization

POST /organizations/authorize-initiate

Authorization

Authorization not required for this request.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

label

String

false

Must match the regular expression \p{Alnum}|\p{Alnum}[-\p{Alnum}]{0,61}\p{Alnum}.

intermediateReturnUrl

String

false

Response fields

Path Type Optional Description

nfToken

String

false

auth0ConnectionIds

Array[String]

false

Example request

$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/authorize-initiate' -i -X POST \
    -H 'Content-Type: application/json' \
    -d '{"label":"ACME-0","intermediateReturnUrl":"http://console.nfadmin.netfoundry.io/invitation"}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 977

{
  "nfToken" : "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0xIiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0yIl0sIm9yZ2FuaXphdGlvbklkIjoiZTM0ODUyOGQtZGMwMi00OGRjLWFhNDItODk2MGQ4NTk2ZTMzIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24iLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvaWRlbnRpdHkvdjEiLCJ0ZW5hbnRMYWJlbCI6IkFDTUUtMCIsImV4cCI6MTYwNjIzNDE0OCwiaWF0IjoxNjA2MjMzMjQ4LCJmbG93IjoibG9naW4ifQ.dnQp2tLHK8xSTRpa0UFZcKw5_navOUJw5T_xnvpRr1a_AFgbfLtLZL4OB-tGkd4lW7Ug0c3FwV-U-WVGWyDCuvEkV2updcN8yEO-W-JwPY-IxF-wW94gqxOtLWnkQ3XhnNXZuMIA_4POQ1HRlHWNar-DjMbjqhQIyV8FuiTt_LXtgMl7so5fD6MGN-11NzRvfpPEYzHzxx0mKg_mRVdbODMwU3Hh_W_aLLIBs7O4_XE9DkPOy55l3JPlNVOjhgyOijeQtCRtKAc96OJrbrgjHzKS2PhonHFu_zPYt5V5tu4DqYYgbNHtLZeidnwljacNxEvkbFvH9wHyLncYu3Jm7A",
  "auth0ConnectionIds" : [ "auth0-opaque-connectionId-1", "auth0-opaque-connectionId-2" ]
}