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 |
---|---|
|
Used to retrieve a resource |
|
Used to create a new resource |
|
Used to update an existing resource, full updates only |
|
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 |
---|---|
|
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. |
|
The request has been fulfilled and resulted in a new resource being created. |
|
The request has been accepted and is being processed asynchronously Standard response for successful HTTP requests which invoke back-end services. |
|
The server successfully processed the request, but is not returning any content. |
|
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). |
|
The request lacks valid authentication credentials for the target resource. |
|
The request is authenticated with valid credentials however that set of credentials is not authorized to access this resource. |
|
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
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'. |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2402
[ {
"id" : "053e3ad0-851c-4b8f-b394-146987f70c49",
"name" : "Newer Faster Name",
"label" : "new-label",
"identityProviders" : [ {
"id" : "c8b19379-25e1-4af1-bf0e-b24e9a2add39",
"organizationId" : "053e3ad0-851c-4b8f-b394-146987f70c49",
"auth0ConnectionId" : "auth0-opaque-connectionId-239",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 55209000,
"epochSecond" : 1738252820
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : "GoogleAuthenticator",
"createdAt" : {
"nano" : 53376000,
"epochSecond" : 1738252820
},
"updatedAt" : {
"nano" : 89700000,
"epochSecond" : 1738252820
},
"deletedAt" : null,
"deleted" : false
}, {
"id" : "1215c626-57a1-4149-b347-69defd5be59f",
"name" : "World Wide Imports",
"label" : "WW-Imports-206",
"identityProviders" : [ ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 478832000,
"epochSecond" : 1738252817
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "12ccb21d-caed-45f6-b543-8bc68bbaeb82",
"name" : "World Wide Imports",
"label" : "WW-Imports-63",
"identityProviders" : [ {
"id" : "2a3c22e9-8459-4d39-9bfa-bb80e86d33a3",
"organizationId" : "12ccb21d-caed-45f6-b543-8bc68bbaeb82",
"auth0ConnectionId" : "auth0-opaque-connectionId-64",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 824395000,
"epochSecond" : 1738252813
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "f4e74b64-2223-4969-aa4e-9befa42edd4d",
"organizationId" : "12ccb21d-caed-45f6-b543-8bc68bbaeb82",
"name" : "Default Standard Role-70",
"roleType" : "Standard",
"roleId" : "7a8e00fa-0506-47ac-8fd3-4d58597e37cb",
"createdBy" : "ab59f4f5-5857-4989-aa38-79dbb4ffb8df",
"createdAt" : {
"nano" : 838590000,
"epochSecond" : 1738252813
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 822771000,
"epochSecond" : 1738252813
},
"updatedAt" : null,
"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}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/8ddffa32-0209-480c-9450-eaab9dada4b3' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2071
{
"id" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"name" : "ACME International, Inc.",
"label" : "ACME-0",
"identityProviders" : [ {
"id" : "6929387f-a293-4350-b30f-1194e457130d",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ConnectionId" : "auth0-opaque-connectionId-2",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 216417000,
"epochSecond" : 1738252770
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "3284ad2e-e340-4dd3-a71f-fd4f2879eecc",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ConnectionId" : "auth0-opaque-connectionId-1",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 198994000,
"epochSecond" : 1738252770
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "873dddbe-84d7-48e6-9462-b10483afed6e",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"name" : "Test Std Role",
"roleType" : "Standard",
"roleId" : "8aade895-f6a2-4dcf-95de-9f1cd071f577",
"createdBy" : "f7742a4e-5666-4f8e-8bfe-50a1fb0e0efe",
"createdAt" : {
"nano" : 222827000,
"epochSecond" : 1738252770
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "61e90da3-38f5-4418-9fb0-3625b98679f3",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"name" : "Test Custom Role",
"roleType" : "Custom",
"roleId" : "13c40bc4-b16d-42bb-9470-535b5c402f70",
"createdBy" : "8ba87404-e371-46b0-9677-e82ef8d340b2",
"createdAt" : {
"nano" : 237986000,
"epochSecond" : 1738252770
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 146694000,
"epochSecond" : 1738252770
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}
Get Organization By Label
GET /organizations/label/{label:[-a-zA-Z0-9]{1,63}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
label |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/label/ACME-0' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2071
{
"id" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"name" : "ACME International, Inc.",
"label" : "ACME-0",
"identityProviders" : [ {
"id" : "6929387f-a293-4350-b30f-1194e457130d",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ConnectionId" : "auth0-opaque-connectionId-2",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 216417000,
"epochSecond" : 1738252770
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "3284ad2e-e340-4dd3-a71f-fd4f2879eecc",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ConnectionId" : "auth0-opaque-connectionId-1",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 198994000,
"epochSecond" : 1738252770
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "873dddbe-84d7-48e6-9462-b10483afed6e",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"name" : "Test Std Role",
"roleType" : "Standard",
"roleId" : "8aade895-f6a2-4dcf-95de-9f1cd071f577",
"createdBy" : "f7742a4e-5666-4f8e-8bfe-50a1fb0e0efe",
"createdAt" : {
"nano" : 222827000,
"epochSecond" : 1738252770
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "61e90da3-38f5-4418-9fb0-3625b98679f3",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"name" : "Test Custom Role",
"roleType" : "Custom",
"roleId" : "13c40bc4-b16d-42bb-9470-535b5c402f70",
"createdBy" : "8ba87404-e371-46b0-9677-e82ef8d340b2",
"createdAt" : {
"nano" : 237986000,
"epochSecond" : 1738252770
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 146694000,
"epochSecond" : 1738252770
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}
Create Organization
POST /organizations
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
label |
String |
true |
|
auth0ConnectionId |
String |
true |
|
identityProviderName |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations' -i -X POST \
-H 'Content-Type: application/json' \
-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: 736
{
"id" : "4b5e78de-60cf-4b25-8f69-8adfbb521f95",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "3224ee1e-38d5-412b-82a7-e450acb8f7e1",
"organizationId" : "4b5e78de-60cf-4b25-8f69-8adfbb521f95",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 824007000,
"epochSecond" : 1738252819
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 823019000,
"epochSecond" : 1738252819
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}
Activate Or Deactivate Organization
PUT /organizations/{id}/{action:activate|deactivate}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/685b78ef-9102-4f85-8885-3ec5007298f0/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 817
{
"id" : "685b78ef-9102-4f85-8885-3ec5007298f0",
"name" : "World Wide Imports",
"label" : "WW-Imports-244",
"identityProviders" : [ {
"id" : "226a752c-91f5-4417-9643-f902f25d81a6",
"organizationId" : "685b78ef-9102-4f85-8885-3ec5007298f0",
"auth0ConnectionId" : "auth0-opaque-connectionId-245",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 659051000,
"epochSecond" : 1738252820
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 658014000,
"epochSecond" : 1738252820
},
"updatedAt" : {
"nano" : 683279000,
"epochSecond" : 1738252820
},
"deletedAt" : null,
"deleted" : false
}
Add Identity Provider
POST /organizations/{id}/identity-providers
Authorization
This endpoint requires:
-
create-identity-provider
action on thisorganization
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
auth0ConnectionId |
String |
true |
|
identityProviderName |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/cb48c25c-ed74-48f5-9ee9-f83449054739/identity-providers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0ConnectionId" : "auth0-opaque-connection",
"identityProviderName" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 1156
{
"id" : "cb48c25c-ed74-48f5-9ee9-f83449054739",
"name" : "World Wide Imports",
"label" : "WW-Imports-240",
"identityProviders" : [ {
"id" : "39787fc0-de24-4fe0-a007-487dabe56559",
"organizationId" : "cb48c25c-ed74-48f5-9ee9-f83449054739",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 316585000,
"epochSecond" : 1738252820
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "0d3c3bd0-3627-4603-8b70-aeffd2979a94",
"organizationId" : "cb48c25c-ed74-48f5-9ee9-f83449054739",
"auth0ConnectionId" : "auth0-opaque-connectionId-241",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 286306000,
"epochSecond" : 1738252820
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 284610000,
"epochSecond" : 1738252820
},
"updatedAt" : null,
"deletedAt" : null,
"deleted" : false
}
OIDC Issuers
Find Oidc Issuers
GET /oidc-issuers
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1219
[ {
"id" : "104d6d17-ef51-4311-973b-02248d9dbf33",
"issuer" : "https://70596d7d-87da-4193-bb76-e5888e107fbc.issuer.idp",
"jwksUri" : "https://70596d7d-87da-4193-bb76-e5888e107fbc.issuer.idp/jwks",
"active" : true,
"createdBy" : "6c4499b2-6d3e-48c2-9406-9c65dffd138e",
"createdAt" : {
"nano" : 804139000,
"epochSecond" : 1738252818
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "134e26c7-f6bc-4deb-bd5c-eb971ea20659",
"issuer" : "https://5b0990ed-47c7-4d91-8ed2-3e5448a2b72c.issuer.idp",
"jwksUri" : "https://5b0990ed-47c7-4d91-8ed2-3e5448a2b72c.issuer.idp/jwks",
"active" : true,
"createdBy" : "e69e8877-052b-43f0-9ca2-67a53148953c",
"createdAt" : {
"nano" : 984997000,
"epochSecond" : 1738252818
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "6c72dba0-a155-4804-9a70-89da12149793",
"issuer" : "https://accounts.google.com",
"jwksUri" : "https://www.googleapis.com/oauth2/v3/certs",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 693972000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Oidc Issuer
GET /oidc-issuers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers/fcae6719-1373-4030-9f32-17af1db49275' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "fcae6719-1373-4030-9f32-17af1db49275",
"issuer" : "https://45c48853-d32d-4c7b-a299-cdd56229a5fe.issuer.idp",
"jwksUri" : "https://45c48853-d32d-4c7b-a299-cdd56229a5fe.issuer.idp/jwks",
"active" : true,
"createdBy" : "f85a19d2-1bb7-4a92-a186-199ecfb5c506",
"createdAt" : {
"nano" : 297452000,
"epochSecond" : 1738252819
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Oidc Issuer
POST /oidc-issuers
Request fields
Path | Type | Optional | Description |
---|---|---|---|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://bd1c7a5d-4b0d-4488-adc0-5f360e4f0015.issuer.idp",
"jwksUri" : "https://bd1c7a5d-4b0d-4488-adc0-5f360e4f0015.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 419
{
"id" : "0a4d3faf-2910-4804-84c3-7e61f12e1e59",
"issuer" : "https://bd1c7a5d-4b0d-4488-adc0-5f360e4f0015.issuer.idp",
"jwksUri" : "https://bd1c7a5d-4b0d-4488-adc0-5f360e4f0015.issuer.idp/jwks",
"active" : true,
"createdBy" : "1d846381-c0bd-48d3-86e5-39b3b80fcb38",
"createdAt" : {
"nano" : 259721000,
"epochSecond" : 1738252819
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Oidc Issuer
PATCH /oidc-issuers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers/db6ed890-9b03-40fb-b636-13002d7bb0ed' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://e94abfb4-a2a9-40b9-9f5c-991bc3f9bd6d.issuer.idp",
"jwksUri" : "https://e94abfb4-a2a9-40b9-9f5c-991bc3f9bd6d.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "db6ed890-9b03-40fb-b636-13002d7bb0ed",
"issuer" : "https://e94abfb4-a2a9-40b9-9f5c-991bc3f9bd6d.issuer.idp",
"jwksUri" : "https://e94abfb4-a2a9-40b9-9f5c-991bc3f9bd6d.issuer.idp/jwks",
"active" : false,
"createdBy" : "8f69d51d-7b05-44a7-9ed2-0a6335294920",
"createdAt" : {
"nano" : 178956000,
"epochSecond" : 1738252819
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Oidc Issuer
DELETE /oidc-issuers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers/a53da97f-511b-4cc9-8d99-3d8ecbabab8d' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "a53da97f-511b-4cc9-8d99-3d8ecbabab8d",
"issuer" : "https://bfc8a874-6015-4834-bb5f-9a6f4f0cdf97.issuer.idp",
"jwksUri" : "https://bfc8a874-6015-4834-bb5f-9a6f4f0cdf97.issuer.idp/jwks",
"active" : true,
"createdBy" : "604a13b5-e3ea-4115-aa60-061ee899eb9d",
"createdAt" : {
"nano" : 338267000,
"epochSecond" : 1738252819
},
"deletedAt" : {
"nano" : 351909000,
"epochSecond" : 1738252819
},
"deletedBy" : "bbdf90e9-3e45-43de-a190-dac20409eb39",
"deleted" : true
}
OIDC Public Clients
Find Oidc Public Clients
GET /oidc-public-clients
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1292
[ {
"id" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"oidcIssuerId" : "fc221f2c-e97f-4994-a29e-afc26395f6b6",
"clientId" : "{clientId}",
"clientSecret" : "{clientSecret}",
"authorizationEndpoint" : "https://{auth0-tenant}.auth0.com/authorize",
"tokenEndpoint" : "https://{auth0-tenant}.auth0.com/oauth/token",
"userInfoEndpoint" : "https://{auth0-tenant}.auth0.com/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 695071000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"oidcIssuerId" : "6c72dba0-a155-4804-9a70-89da12149793",
"clientId" : "{clientId}",
"clientSecret" : "{clientSecret}",
"authorizationEndpoint" : "https://accounts.google.com/o/oauth2/v2/auth",
"tokenEndpoint" : "https://oauth2.googleapis.com/token",
"userInfoEndpoint" : "https://openidconnect.googleapis.com/v1/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 695071000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Oidc Public Client
GET /oidc-public-clients/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients/d45bc7eb-72f8-479d-b8ef-5d2d7fa7dad4' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 776
{
"id" : "d45bc7eb-72f8-479d-b8ef-5d2d7fa7dad4",
"oidcIssuerId" : "679e4a6e-f578-490d-873a-32efafb910e8",
"clientId" : "clientId-cad832e5-d914-41c0-86a1-c328d2c4750e",
"clientSecret" : "clientSecret-8394d222-36c0-40f0-b6cd-281ec7f8f44e",
"authorizationEndpoint" : "https://7fd64b23-a3d9-431b-aea1-d548fda3a845.issuer.idp/authorize",
"tokenEndpoint" : "https://7fd64b23-a3d9-431b-aea1-d548fda3a845.issuer.idp/token",
"userInfoEndpoint" : "https://7fd64b23-a3d9-431b-aea1-d548fda3a845.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "da556231-9781-46a9-9b13-3361f2af2d55",
"createdAt" : {
"nano" : 648700000,
"epochSecond" : 1738252819
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Oidc Public Client
POST /oidc-public-clients
Request fields
Path | Type | Optional | Description |
---|---|---|---|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"oidcIssuerId" : "bbfe0ee9-003e-4ea7-93ff-a3447f2d7bac",
"clientId" : "clientId-5d6c855a-ac16-45fa-931f-379848e9f104",
"clientSecret" : "clientSecret-7a539038-92d4-4c1f-a45e-e24947efc1b0",
"authorizationEndpoint" : "https://1498e5f8-9080-4869-b81e-d0f094ed62b8.issuer.idp/authorize",
"tokenEndpoint" : "https://1498e5f8-9080-4869-b81e-d0f094ed62b8.issuer.idp/token",
"userInfoEndpoint" : "https://1498e5f8-9080-4869-b81e-d0f094ed62b8.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "24bb3411-352e-4524-bd4c-4ee209258467",
"oidcIssuerId" : "bbfe0ee9-003e-4ea7-93ff-a3447f2d7bac",
"clientId" : "clientId-5d6c855a-ac16-45fa-931f-379848e9f104",
"clientSecret" : "clientSecret-7a539038-92d4-4c1f-a45e-e24947efc1b0",
"authorizationEndpoint" : "https://1498e5f8-9080-4869-b81e-d0f094ed62b8.issuer.idp/authorize",
"tokenEndpoint" : "https://1498e5f8-9080-4869-b81e-d0f094ed62b8.issuer.idp/token",
"userInfoEndpoint" : "https://1498e5f8-9080-4869-b81e-d0f094ed62b8.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "67e32ec9-f0c7-4f7f-b7b6-43e84cbdee39",
"createdAt" : {
"nano" : 610033000,
"epochSecond" : 1738252819
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Oidc Public Client
PATCH /oidc-public-clients/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients/0532fc9b-ca9e-4a71-b7e6-7e485591a3eb' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-3e5f2312-32d7-4e9c-8b2c-044b81bd2fd1",
"clientSecret" : "clientSecret-bb55767d-1740-4104-8c81-64cd13b39f21",
"authorizationEndpoint" : "https://a7a8fbd2-7c2f-47c2-8a30-483f64081b92.issuer.idp/authorize",
"tokenEndpoint" : "https://a7a8fbd2-7c2f-47c2-8a30-483f64081b92.issuer.idp/token",
"userInfoEndpoint" : "https://a7a8fbd2-7c2f-47c2-8a30-483f64081b92.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 777
{
"id" : "0532fc9b-ca9e-4a71-b7e6-7e485591a3eb",
"oidcIssuerId" : "6281ba21-63ae-40e5-a43d-be3fc473fb96",
"clientId" : "clientId-3e5f2312-32d7-4e9c-8b2c-044b81bd2fd1",
"clientSecret" : "clientSecret-bb55767d-1740-4104-8c81-64cd13b39f21",
"authorizationEndpoint" : "https://a7a8fbd2-7c2f-47c2-8a30-483f64081b92.issuer.idp/authorize",
"tokenEndpoint" : "https://a7a8fbd2-7c2f-47c2-8a30-483f64081b92.issuer.idp/token",
"userInfoEndpoint" : "https://a7a8fbd2-7c2f-47c2-8a30-483f64081b92.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "61876fd7-21b8-4514-b1c6-9e9bb8b1bade",
"createdAt" : {
"nano" : 518011000,
"epochSecond" : 1738252819
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Oidc Public Client
DELETE /oidc-public-clients/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients/62983c06-4253-45af-9bf7-6ffb5448117c' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 865
{
"id" : "62983c06-4253-45af-9bf7-6ffb5448117c",
"oidcIssuerId" : "1e4f4db5-4d7b-48d8-84e9-de4422580d22",
"clientId" : "clientId-2df091dc-44e1-4a6b-b5fe-5caf31b82186",
"clientSecret" : "clientSecret-6b6ed665-84d0-43df-acda-1d6190acea58",
"authorizationEndpoint" : "https://84fe096e-9587-4929-9ce6-cb13e25b47ee.issuer.idp/authorize",
"tokenEndpoint" : "https://84fe096e-9587-4929-9ce6-cb13e25b47ee.issuer.idp/token",
"userInfoEndpoint" : "https://84fe096e-9587-4929-9ce6-cb13e25b47ee.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "657ed147-5866-41a0-bd2f-37bb07f9c365",
"createdAt" : {
"nano" : 690301000,
"epochSecond" : 1738252819
},
"deletedAt" : {
"nano" : 700208000,
"epochSecond" : 1738252819
},
"deletedBy" : "a6edea21-1e00-4454-8c08-b1dd172ac2b4",
"deleted" : true
}
Organization to OIDC Public Client Mappings
Find Organization Oidc Public Client Mappings
GET /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
read
action on thisorganization-oidc-public-client-mapping
resource.
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1314
[ {
"id" : "2ab3d0d4-a8b0-4d01-902d-1e5f6edf3378",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "NFSUPPORT-RO Google Account",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 364291000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "386026a9-f765-4455-94ad-e2edca7e093a",
"organizationId" : "95068bb0-864b-4930-b06e-9acf4957c826",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "NetFoundry Google Account",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 404472000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "ffc283b6-c379-46a4-a21d-6a60b7ae0dbd",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "NFSUPPORT Google Account",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 349235000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Organization Oidc Public Client Mapping
GET /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
read
action on thisorganization-oidc-public-client-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings/ab854cab-7512-4e40-98e4-762b5c3b4283' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 461
{
"id" : "ab854cab-7512-4e40-98e4-762b5c3b4283",
"organizationId" : "c302288e-9a9b-4595-ac16-01af6c519d8a",
"oidcPublicClientId" : "08c9263c-6353-4042-9415-282747f828f3",
"name" : "console-client-13587a24-24eb-41e5-9f0b-bbd79bd11ca7",
"active" : true,
"createdBy" : "cb66aef2-6d3b-4f7c-b124-2c5cc9dddf9c",
"createdAt" : {
"nano" : 181317000,
"epochSecond" : 1738252821
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Organization Oidc Public Client Mapping
POST /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
create
action on thisorganization-oidc-public-client-mapping
resource. -
read
action on theoidc-public-client
resource identified by theoidcPublicClientId
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "d86f41c5-fc40-4285-9ec2-ba38816caca1",
"oidcPublicClientId" : "57b91494-b234-4059-b046-4b4c493028fd",
"name" : "console-client-c612e6e5-7728-403d-aa5d-861e315ebc0d",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 461
{
"id" : "de10733a-31d1-4d28-8187-e0804f5b5fa9",
"organizationId" : "d86f41c5-fc40-4285-9ec2-ba38816caca1",
"oidcPublicClientId" : "57b91494-b234-4059-b046-4b4c493028fd",
"name" : "console-client-c612e6e5-7728-403d-aa5d-861e315ebc0d",
"active" : true,
"createdBy" : "3203234f-f290-45d8-808c-03395cf6faf9",
"createdAt" : {
"nano" : 122616000,
"epochSecond" : 1738252821
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Organization Oidc Public Client Mapping
PATCH /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
update
action on thisorganization-oidc-public-client-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings/33a3991c-fa3d-4458-af11-860398715d67' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-2275281d-5eb4-468f-b9aa-9af4cfa486f1",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 459
{
"id" : "33a3991c-fa3d-4458-af11-860398715d67",
"organizationId" : "ec4e01c3-0236-4ce5-a395-edd71a374060",
"oidcPublicClientId" : "4c348397-b009-44b2-899d-77f1f324b0ac",
"name" : "custom-client-2275281d-5eb4-468f-b9aa-9af4cfa486f1",
"active" : false,
"createdBy" : "c2afec67-aabd-4874-b410-c2c63ba9f852",
"createdAt" : {
"nano" : 4780000,
"epochSecond" : 1738252821
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Organization Oidc Public Client Mapping
DELETE /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
delete
action on thisorganization-oidc-public-client-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings/22e2918f-02ac-449e-873d-f5fe5a5259d7' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 550
{
"id" : "22e2918f-02ac-449e-873d-f5fe5a5259d7",
"organizationId" : "142a7d06-d9aa-4076-813b-4ce027b9f208",
"oidcPublicClientId" : "ac6755a5-b300-4234-adf3-9e33e804f4fb",
"name" : "console-client-a333eee2-eb56-44bd-bf8f-cae399b260bd",
"active" : true,
"createdBy" : "94898ef1-d6df-4fca-9b9e-128fad6f0bc7",
"createdAt" : {
"nano" : 260843000,
"epochSecond" : 1738252821
},
"deletedAt" : {
"nano" : 271117000,
"epochSecond" : 1738252821
},
"deletedBy" : "9cdc841f-e625-4187-bf95-f435f6e7a250",
"deleted" : true
}
OIDC Audiences
Find Oidc Audiences
GET /oidc-audiences
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 850
[ {
"id" : "6a4f65ad-9db8-4ea7-b404-1d5c5f85cbdf",
"oidcIssuerId" : "fc221f2c-e97f-4994-a29e-afc26395f6b6",
"audience" : "https://gateway.{env}.netfoundry.io/",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 699792000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "b71d8edd-6bf1-4ed3-84e8-f3b5fe82868f",
"oidcIssuerId" : "6c72dba0-a155-4804-9a70-89da12149793",
"audience" : "https://gateway.{env}.netfoundry.io/",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 699792000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Oidc Audience
GET /oidc-audiences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences/d52d9a51-eafa-41c4-8008-ea3a17828a6c' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "d52d9a51-eafa-41c4-8008-ea3a17828a6c",
"oidcIssuerId" : "134e26c7-f6bc-4deb-bd5c-eb971ea20659",
"audience" : "mop-aud-d8a82a14-c8f4-4c26-8ab3-af9771173ef7",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "6d108b49-f96a-4630-b945-f427f66dd662",
"createdAt" : {
"nano" : 987285000,
"epochSecond" : 1738252818
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Oidc Audience
POST /oidc-audiences
Request fields
Path | Type | Optional | Description |
---|---|---|---|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"oidcIssuerId" : "f7800cc5-b7dd-4381-a362-bdd7c2776d2d",
"audience" : "mop-aud-d874fb60-ccf8-4229-ac97-9121fed3332a",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "1d05ea43-76c4-4c46-b829-7e64195386db",
"oidcIssuerId" : "f7800cc5-b7dd-4381-a362-bdd7c2776d2d",
"audience" : "mop-aud-d874fb60-ccf8-4229-ac97-9121fed3332a",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "ebd7a069-95bc-436c-9fad-58c009560198",
"createdAt" : {
"nano" : 952009000,
"epochSecond" : 1738252818
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Oidc Audience
PATCH /oidc-audiences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences/f034ff60-e23a-4053-bd37-51d35ab6fe3a' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-abe39d90-3937-469b-b927-cc22ea8c8eac",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "f034ff60-e23a-4053-bd37-51d35ab6fe3a",
"oidcIssuerId" : "104d6d17-ef51-4311-973b-02248d9dbf33",
"audience" : "mop-aud-abe39d90-3937-469b-b927-cc22ea8c8eac",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "28fca178-be67-4c0f-b45e-e819b34894bb",
"createdAt" : {
"nano" : 816176000,
"epochSecond" : 1738252818
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Oidc Audience
DELETE /oidc-audiences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences/3120a59b-f2bc-4270-8c02-ff378cdeb4a1' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 517
{
"id" : "3120a59b-f2bc-4270-8c02-ff378cdeb4a1",
"oidcIssuerId" : "d60c8773-5a52-4386-9d72-38b534436285",
"audience" : "mop-aud-a53a243d-8eb6-4f17-b7d5-50b1f8623eff",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "38a9e88a-549e-483f-90b6-9ba1e19b260f",
"createdAt" : {
"nano" : 32956000,
"epochSecond" : 1738252819
},
"deletedAt" : {
"nano" : 47640000,
"epochSecond" : 1738252819
},
"deletedBy" : "5530d2b3-240f-485a-b59d-72a6c81315c1",
"deleted" : true
}
User Identity to OIDC Audience Mappings
Find User Identity Audience Mappings
GET /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
read
action on thisuser-identity-oidc-audience-mapping
resource.
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 3
[ ]
Get User Identity Audience Mapping
GET /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
read
action on thisuser-identity-oidc-audience-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/efd46efb-13e5-4ebd-b1b1-262bb1b2daf6' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 460
{
"id" : "efd46efb-13e5-4ebd-b1b1-262bb1b2daf6",
"userIdentityId" : "b4e62585-dca6-43d9-8009-a0eaf9480fe4",
"oidcAudienceId" : "0f1c0c22-79dd-4084-86c8-16fd826c9279",
"subject" : "console-client-a9492752-e88f-42b9-b32e-f0b3c125bc8c",
"active" : true,
"createdBy" : "728cf1f2-9115-43bf-a049-4d51b318dd08",
"createdAt" : {
"nano" : 900025000,
"epochSecond" : 1738252823
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create User Identity Audience Mapping
POST /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
create
action on thisuser-identity-oidc-audience-mapping
resource. -
create-identity-mapping
action on theuser-identity
resource identified by theuserIdentityId
property. -
read
action on theoidc-audience
resource identified by theoidcAudienceId
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"userIdentityId" : "cb357fc9-3e75-4e23-aa78-1f692e3906e6",
"oidcAudienceId" : "92d8f09c-148c-4e12-aced-bbe725aaf3cf",
"subject" : "console-client-ed363309-ee3a-47d7-9c87-f9f9a31c366d",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "a1a8a3d9-e14f-4cb5-9000-4876f2973188",
"userIdentityId" : "cb357fc9-3e75-4e23-aa78-1f692e3906e6",
"oidcAudienceId" : "92d8f09c-148c-4e12-aced-bbe725aaf3cf",
"subject" : "console-client-ed363309-ee3a-47d7-9c87-f9f9a31c366d",
"active" : true,
"createdBy" : "ae6a61e1-7b96-4752-be08-9c2a6c41eeaf",
"createdAt" : {
"nano" : 855926000,
"epochSecond" : 1738252823
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update User Identity Audience Mapping
PATCH /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
update
action on thisuser-identity-oidc-audience-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
active |
Boolean |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/5d5c3fb8-4b47-4870-9e4a-fd7dfd9ac09b' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 461
{
"id" : "5d5c3fb8-4b47-4870-9e4a-fd7dfd9ac09b",
"userIdentityId" : "831d00e1-5aa4-4280-b934-a4d35c0d3986",
"oidcAudienceId" : "adf7ccee-d453-4043-9ce0-8259dde2dca4",
"subject" : "console-client-3b3e57e0-af8f-4d5d-aeed-33efe073bab6",
"active" : false,
"createdBy" : "4a0f9d69-25f3-457d-b150-7238a3b6fd65",
"createdAt" : {
"nano" : 769534000,
"epochSecond" : 1738252823
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete User Identity Audience Mapping
DELETE /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
delete
action on thisuser-identity-oidc-audience-mapping
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/798c02fb-1fd3-4b61-bb15-52fe91ae934d' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 549
{
"id" : "798c02fb-1fd3-4b61-bb15-52fe91ae934d",
"userIdentityId" : "733075f6-04f4-4b39-aa57-3ade542349cd",
"oidcAudienceId" : "c84f5e78-ac1f-4ee2-9a0a-49749e97a342",
"subject" : "console-client-791a9de9-a1df-4ee2-9f2c-677afd7027fb",
"active" : true,
"createdBy" : "9c9e944e-14a7-4401-ac3c-9dc124e0d06b",
"createdAt" : {
"nano" : 955971000,
"epochSecond" : 1738252823
},
"deletedAt" : {
"nano" : 967467000,
"epochSecond" : 1738252823
},
"deletedBy" : "fddf07ee-67f7-4637-b38e-f2087921066e",
"deleted" : true
}
Identity Providers
Find Identity Providers
GET /identity-providers
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 |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1147
[ {
"id" : "0d9073d1-1baf-4b2a-89d7-8503f1dfb056",
"organizationId" : "22abbee6-c53f-446f-97c8-fd7aa8631c62",
"auth0ConnectionId" : "auth0-opaque-connectionId-44",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 172184000,
"epochSecond" : 1738252813
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "1a871905-9d58-4d23-a082-d583e83fa884",
"organizationId" : "b73a6345-5c05-4207-b05a-ff21b6d56da6",
"auth0ConnectionId" : "auth0-opaque-connectionId-119",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 770813000,
"epochSecond" : 1738252815
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "22a67c75-aa9a-454a-a43e-08d3e5626ac6",
"organizationId" : "81f2e92e-ca5c-4819-b115-5d86a9261aed",
"auth0ConnectionId" : "auth0-opaque-connectionId-203",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 346826000,
"epochSecond" : 1738252817
},
"updatedAt" : null,
"deletedAt" : null
} ]
Get Identity Provider
GET /identity-providers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/6929387f-a293-4350-b30f-1194e457130d' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 373
{
"id" : "6929387f-a293-4350-b30f-1194e457130d",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ConnectionId" : "auth0-opaque-connectionId-2",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 216417000,
"epochSecond" : 1738252770
},
"updatedAt" : null,
"deletedAt" : null
}
Create Identity Provider
POST /identity-providers
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
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 |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "9ae7ade1-285e-4ea1-8205-cb9607d70ffc",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "b40824f5-6c45-4241-a731-9780cc3406d3",
"organizationId" : "9ae7ade1-285e-4ea1-8205-cb9607d70ffc",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 275805000,
"epochSecond" : 1738252817
},
"updatedAt" : null,
"deletedAt" : null
}
Update Identity Provider
PUT /identity-providers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/18e2707e-1dcf-4a2c-8efe-7154c1bf7a98' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "New IdP Name"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "18e2707e-1dcf-4a2c-8efe-7154c1bf7a98",
"organizationId" : "848b5653-19ae-4b10-b79f-417a9b7155b4",
"auth0ConnectionId" : "auth0-opaque-connectionId-209",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 556961000,
"epochSecond" : 1738252817
},
"updatedAt" : {
"nano" : 587908000,
"epochSecond" : 1738252817
},
"deletedAt" : null
}
Activate Or Deactivate Identity Provider
PUT /identity-providers/{id}/{action:activate|deactivate}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/22a67c75-aa9a-454a-a43e-08d3e5626ac6/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 380
{
"id" : "22a67c75-aa9a-454a-a43e-08d3e5626ac6",
"organizationId" : "81f2e92e-ca5c-4819-b115-5d86a9261aed",
"auth0ConnectionId" : "auth0-opaque-connectionId-203",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 346826000,
"epochSecond" : 1738252817
},
"updatedAt" : null,
"deletedAt" : null
}
Delete Identity Provider
DELETE /identity-providers/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/caa7c0e4-f9d6-46e2-bd17-28d37fbe3c70' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "caa7c0e4-f9d6-46e2-bd17-28d37fbe3c70",
"organizationId" : "1215c626-57a1-4149-b347-69defd5be59f",
"auth0ConnectionId" : "auth0-opaque-connectionId-207",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 479841000,
"epochSecond" : 1738252817
},
"updatedAt" : {
"nano" : 509261000,
"epochSecond" : 1738252817
},
"deletedAt" : {
"nano" : 508000000,
"epochSecond" : 1738252817
}
}
Default Roles
Find Default Roles
GET /default-roles
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1364
[ {
"id" : "0329fbe7-ca62-468a-bc54-fee1428aa144",
"organizationId" : "95068bb0-864b-4930-b06e-9acf4957c826",
"name" : "Standard Role Admin - Network Group Admin - Cloud Engineering",
"roleType" : "Standard",
"roleId" : "2854b8f9-6538-11ea-98de-128b2daaf7e4",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 407148000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "08173b12-8837-43b3-a7d5-070adf267937",
"organizationId" : "95068bb0-864b-4930-b06e-9acf4957c826",
"name" : "Network Group Admin - Cloud Engineering Network Group",
"roleType" : "Standard",
"roleId" : "b75be358-a3f9-40a5-972d-a804c4758041",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 407148000,
"epochSecond" : 1738252765
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "1beed469-9ea4-4e56-98ae-f020e9dbf40e",
"organizationId" : "e1739be6-bac7-432a-90c9-b2d2875daf8e",
"name" : "Default Standard Role-42",
"roleType" : "Standard",
"roleId" : "25525c16-999e-44f3-9905-a17ffee0e2e0",
"createdBy" : "a21b94c8-a51e-48bd-8339-11d32f23ecf8",
"createdAt" : {
"nano" : 801169000,
"epochSecond" : 1738252812
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Default Role
GET /default-roles/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/873dddbe-84d7-48e6-9462-b10483afed6e' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "873dddbe-84d7-48e6-9462-b10483afed6e",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"name" : "Test Std Role",
"roleType" : "Standard",
"roleId" : "8aade895-f6a2-4dcf-95de-9f1cd071f577",
"createdBy" : "f7742a4e-5666-4f8e-8bfe-50a1fb0e0efe",
"createdAt" : {
"nano" : 222827000,
"epochSecond" : 1738252770
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Default Role
POST /default-roles
Authorization
This endpoint requires:
-
create
action on thisdefault-role
resource. -
update
action on theorganization
resource identified by theorganization
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "cd9c3b09-beee-4692-9905-87aca7ce3a96",
"roleType" : "Standard",
"roleId" : "b7de80fe-ddbd-41cf-839a-f246e6f50263"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "307d0508-79e9-427b-8d81-b1e98a60211b",
"organizationId" : "cd9c3b09-beee-4692-9905-87aca7ce3a96",
"name" : "Standard Role - b7de80fe-ddbd-41cf-839a-f246e6f50263",
"roleType" : "Standard",
"roleId" : "b7de80fe-ddbd-41cf-839a-f246e6f50263",
"createdBy" : "ced8f6c6-e327-48ea-86f5-7ffd54179ce0",
"createdAt" : {
"nano" : 763025000,
"epochSecond" : 1738252813
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Default Role
DELETE /default-roles/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/2b7633df-9b7a-49ba-8149-850a294f5b72' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "2b7633df-9b7a-49ba-8149-850a294f5b72",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"name" : "Test Deletion",
"roleType" : "Standard",
"roleId" : "22b38f92-ee6f-4c82-87d9-4956095cf73b",
"createdBy" : "bba7a791-f939-4aad-a787-e7a68bc252d5",
"createdAt" : {
"nano" : 313485000,
"epochSecond" : 1738252813
},
"deletedAt" : {
"nano" : 338000000,
"epochSecond" : 1738252813
},
"deletedBy" : "b05fb8b9-ed5e-4ce9-aebb-7de9834e795b",
"deleted" : true
}
Grant Default Role
POST /default-roles/{id}/grant
Authorization
This endpoint requires:
-
read
action on thisdefault-role
resource. -
create
action on theinvitation
resource identified by theorganization
property.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
No request body.
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/1beed469-9ea4-4e56-98ae-f020e9dbf40e/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "b190d6c0-0264-45b2-aed0-e19943434841", "ed56fb3b-4607-4856-8f20-214eada0b0f2", "67637db6-bab8-40da-8328-c8c9b16ad1ff" ],
"excludeIdentityIds" : [ "ed56fb3b-4607-4856-8f20-214eada0b0f2", "67637db6-bab8-40da-8328-c8c9b16ad1ff", "78520439-3782-4bf3-8df7-2c0af341323d" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"b190d6c0-0264-45b2-aed0-e19943434841" : true
}
User Identity
Get Identity
GET /identities/self
Authorization
This endpoint requires no specific permission, only an authenticated client.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
|
active |
Boolean |
true |
|
String |
true |
||
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/self' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "90669aac-27dc-4b39-ab97-5eeb7da62da1",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-283@acme.com",
"identityMappings" : [ {
"id" : "e5ab92a2-8d5b-4e02-9341-375536709087",
"auth0UserId" : "auth0-opaque-userId-284",
"identityProviderId" : "6929387f-a293-4350-b30f-1194e457130d",
"userIdentityId" : "90669aac-27dc-4b39-ab97-5eeb7da62da1"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 617473000,
"epochSecond" : 1738252822
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "UserIdentity"
}
Get Identity
GET /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}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
|
active |
Boolean |
true |
|
String |
true |
||
deletedAt |
Object |
true |
|
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/a93fc3bf-760b-4603-8a84-2a74b9e3f17b' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "a93fc3bf-760b-4603-8a84-2a74b9e3f17b",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "fe4cea72-60e3-4869-b122-1b2908cce2db",
"auth0UserId" : "auth0-opaque-userId-3",
"identityProviderId" : "3284ad2e-e340-4dd3-a71f-fd4f2879eecc",
"userIdentityId" : "a93fc3bf-760b-4603-8a84-2a74b9e3f17b"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 366471000,
"epochSecond" : 1738252770
},
"deletedAt" : null,
"name" : "John Doe",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "UserIdentity"
}
Find User Identities
GET /user-identities
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2161
[ {
"id" : "0373635d-b8e7-4932-b1b1-d5fb84126ff1",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-176@acme.com",
"identityMappings" : [ {
"id" : "50b7bd8a-758a-4ce2-bfc2-db5d47daec02",
"auth0UserId" : "auth0-opaque-userId-177",
"identityProviderId" : "6929387f-a293-4350-b30f-1194e457130d",
"userIdentityId" : "0373635d-b8e7-4932-b1b1-d5fb84126ff1"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 753742000,
"epochSecond" : 1738252816
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "UserIdentity"
}, {
"id" : "06fad8b8-f0a8-4cdf-a22f-85265f559d09",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-124@acme.com",
"identityMappings" : [ {
"id" : "dcf28e58-8cce-49dd-88af-3e21c83adff4",
"auth0UserId" : "auth0-opaque-userId-125",
"identityProviderId" : "6929387f-a293-4350-b30f-1194e457130d",
"userIdentityId" : "06fad8b8-f0a8-4cdf-a22f-85265f559d09"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 870735000,
"epochSecond" : 1738252815
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "UserIdentity"
}, {
"id" : "089bcd2b-88ac-433a-b5b6-1e031df8bf23",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-140@acme.com",
"identityMappings" : [ {
"id" : "1c379fad-4a18-42db-b7e5-6729fecc3b57",
"auth0UserId" : "auth0-opaque-userId-141",
"identityProviderId" : "6929387f-a293-4350-b30f-1194e457130d",
"userIdentityId" : "089bcd2b-88ac-433a-b5b6-1e031df8bf23"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 84788000,
"epochSecond" : 1738252816
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"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}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/a93fc3bf-760b-4603-8a84-2a74b9e3f17b' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "a93fc3bf-760b-4603-8a84-2a74b9e3f17b",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "fe4cea72-60e3-4869-b122-1b2908cce2db",
"auth0UserId" : "auth0-opaque-userId-3",
"identityProviderId" : "3284ad2e-e340-4dd3-a71f-fd4f2879eecc",
"userIdentityId" : "a93fc3bf-760b-4603-8a84-2a74b9e3f17b"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 366471000,
"epochSecond" : 1738252770
},
"deletedAt" : null,
"name" : "John Doe",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "UserIdentity"
}
Get User Identity By Mapping
GET /user-identities/mapping/{auth0UserId}/{identityProviderId}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
auth0UserId |
String |
false |
|
identityProviderId |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/mapping/auth0-opaque-userId-3/3284ad2e-e340-4dd3-a71f-fd4f2879eecc' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "a93fc3bf-760b-4603-8a84-2a74b9e3f17b",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "fe4cea72-60e3-4869-b122-1b2908cce2db",
"auth0UserId" : "auth0-opaque-userId-3",
"identityProviderId" : "3284ad2e-e340-4dd3-a71f-fd4f2879eecc",
"userIdentityId" : "a93fc3bf-760b-4603-8a84-2a74b9e3f17b"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 366471000,
"epochSecond" : 1738252770
},
"deletedAt" : null,
"name" : "John Doe",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "UserIdentity"
}
Create Identity
POST /user-identities
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 479
{
"id" : "6d346987-c68e-40c1-af85-72f65311a661",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 536945000,
"epochSecond" : 1738252823
},
"deletedAt" : null,
"name" : "Jane Doe",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "UserIdentity"
}
Update
PUT /user-identities/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/15d1b8dc-2c6f-44d1-b718-e16a9f0975c1' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 720
{
"id" : "15d1b8dc-2c6f-44d1-b718-e16a9f0975c1",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "01ee24c1-8ea9-477f-8703-225a98d67615",
"auth0UserId" : "auth0-opaque-userId-288",
"identityProviderId" : "6929387f-a293-4350-b30f-1194e457130d",
"userIdentityId" : "15d1b8dc-2c6f-44d1-b718-e16a9f0975c1"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 13390000,
"epochSecond" : 1738252823
},
"deletedAt" : null,
"name" : "Bobby White",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "UserIdentity"
}
Activate Or Deactivate User Identity
PUT /user-identities/{id}/{action:activate|deactivate}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
name |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/4eaf1639-b6bf-4a38-80be-a88bc8875c9f/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "4eaf1639-b6bf-4a38-80be-a88bc8875c9f",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-289@acme.com",
"identityMappings" : [ {
"id" : "778f0fa9-1d9b-49cf-ba88-17fa81adb2ba",
"auth0UserId" : "auth0-opaque-userId-290",
"identityProviderId" : "6929387f-a293-4350-b30f-1194e457130d",
"userIdentityId" : "4eaf1639-b6bf-4a38-80be-a88bc8875c9f"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 65092000,
"epochSecond" : 1738252823
},
"deletedAt" : null,
"name" : "First Last",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "UserIdentity"
}
Reset User Identity Mfa Settings
PUT /user-identities/{id}/reset-mfa
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/e6ed1cc5-ef77-480f-9616-e8d626e4ec1a/reset-mfa' -i -X PUT
Example response
HTTP/1.1 200 OK
Map Identity
POST /user-identities/{id}/mapping
Authorization
This endpoint requires:
-
create-identity-mapping
action on thisuser-identity
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
auth0UserId |
String |
true |
|
identityProviderId |
String |
true |
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/ac9c7735-4b64-48d4-a2c5-cb8d09c81d7f/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:454da135-5f25-429f-9192-ed54c7a79cd0",
"identityProviderId" : "3284ad2e-e340-4dd3-a71f-fd4f2879eecc"
}'
Example response
HTTP/1.1 200 OK
API Account Identity
Find Api Account Identities
GET /api-account-identities
Query parameters
Supports standard paging query parameters.
Parameter | Type | Optional | Description |
---|---|---|---|
tenantId |
Object |
true |
Deprecated.. |
organizationId |
Object |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
active |
Boolean |
true |
|
includeDeleted |
Boolean |
true |
Default value: 'false'. |
provider |
String |
true |
Must be one of [Auth0, Cognito]. |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2006
[ {
"id" : "035314b0-cfd9-4a66-907f-936e3ec6a917",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ClientId" : null,
"awsCognitoClientId" : "e2833a0b-8643-490d-8188-9b23fcd86752|miedftuc",
"authenticationUrl" : "https://netfoundry-test-cxavsy.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 621079000,
"epochSecond" : 1738252802
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "ApiAccountIdentity"
}, {
"id" : "0802d7e4-1126-41b7-8b98-dca8affd05df",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ClientId" : null,
"awsCognitoClientId" : "c17ccc47-1405-40ba-b302-e09ab8edad23|xgewfyxx",
"authenticationUrl" : "https://netfoundry-test-slssyn.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 474030000,
"epochSecond" : 1738252779
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "ApiAccountIdentity"
}, {
"id" : "08e2e2c0-20a2-4fe5-98ac-80bcfac6bef1",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ClientId" : null,
"awsCognitoClientId" : "33840678-b4d1-473b-bfb6-97c48b092e6d|kqcqbexx",
"authenticationUrl" : "https://netfoundry-test-gfllbf.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 900603000,
"epochSecond" : 1738252792
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"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}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/dfe84967-69f3-4ba2-ba41-fc65b0840a8f' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "dfe84967-69f3-4ba2-ba41-fc65b0840a8f",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ClientId" : "f1bdd381-11e1-4efa-8cac-d012c50d774f",
"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" : 398304000,
"epochSecond" : 1738252770
},
"updatedAt" : {
"nano" : 155874000,
"epochSecond" : 1738252772
},
"deletedAt" : null,
"email" : "no-reply@acme.com",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "ApiAccountIdentity"
}
Get Api Account Identity By Mapping
GET /api-account-identities/mapping/{clientId}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
clientId |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/mapping/d03aaafa-9f95-4978-a7a5-1a1536c61ee3' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 682
{
"id" : "cde7a733-9944-4ba9-9fec-a1854edf5432",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ClientId" : "d03aaafa-9f95-4978-a7a5-1a1536c61ee3",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-29",
"contactEmail" : "service.admin-30@foo.com",
"description" : "updatable API Account description-31",
"active" : true,
"createdAt" : {
"nano" : 252041000,
"epochSecond" : 1738252812
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-30@foo.com",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "ApiAccountIdentity"
}
Create Api Account Identity
POST /api-account-identities
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
grantDefaultRoles |
Boolean |
true |
|
provider |
String |
true |
Must be one of [Auth0, Cognito]. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
apiAccountIdentity |
Object |
true |
|
apiAccountIdentity.id |
String |
true |
|
apiAccountIdentity.organizationId |
String |
true |
|
apiAccountIdentity.auth0ClientId |
String |
true |
|
apiAccountIdentity.awsCognitoClientId |
String |
true |
|
apiAccountIdentity.authenticationUrl |
String |
true |
|
apiAccountIdentity.name |
String |
true |
|
apiAccountIdentity.contactEmail |
String |
true |
|
apiAccountIdentity.description |
String |
true |
|
apiAccountIdentity.active |
Boolean |
true |
|
apiAccountIdentity.createdAt |
Object |
true |
|
apiAccountIdentity.updatedAt |
Object |
true |
|
apiAccountIdentity.deletedAt |
Object |
true |
|
apiAccountIdentity.email |
String |
true |
|
apiAccountIdentity.tenantId |
String |
true |
Deprecated.. |
apiAccountIdentity.type |
String |
true |
|
clientId |
String |
true |
|
password |
String |
true |
|
authenticationUrl |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"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" : "5921c5fb-89ed-49f7-9ee8-071ec6f613e2",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ClientId" : null,
"awsCognitoClientId" : "2a3d2ac4-b0b8-4a32-ab12-4b76b808430c|aiblxlor",
"authenticationUrl" : "https://netfoundry-test-dlpwpk.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" : 681886000,
"epochSecond" : 1738252776
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "ApiAccountIdentity"
},
"clientId" : "aiblxlor",
"password" : "xdiokvenobfytewciqvkmnnk",
"authenticationUrl" : "https://netfoundry-test-dlpwpk.auth.us-east-1.amazoncognito.com/oauth2/token"
}
Update Identity Info
PUT /api-account-identities/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/a55dc27f-68b0-4bd9-863b-1f330fcd53d5' -i -X PUT \
-H 'Content-Type: application/json' \
-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" : "a55dc27f-68b0-4bd9-863b-1f330fcd53d5",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ClientId" : "3acc58d7-239c-4ab2-9c74-6970ea0bb70b",
"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" : 418905000,
"epochSecond" : 1738252770
},
"updatedAt" : {
"nano" : 294337000,
"epochSecond" : 1738252771
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "ApiAccountIdentity"
}
Activate Or Deactivate Api Account Identity
PUT /api-account-identities/{id}/{action:activate|deactivate}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/594f6b08-69de-4df8-83ba-3eeee3f0e9b5/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 736
{
"id" : "594f6b08-69de-4df8-83ba-3eeee3f0e9b5",
"organizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"auth0ClientId" : "40f7e785-e09a-4a5e-ba4e-cfc71883ee64",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-23",
"contactEmail" : "service.admin-24@foo.com",
"description" : "updatable API Account description-25",
"active" : false,
"createdAt" : {
"nano" : 9969000,
"epochSecond" : 1738252812
},
"updatedAt" : {
"nano" : 56269000,
"epochSecond" : 1738252812
},
"deletedAt" : null,
"email" : "service.admin-24@foo.com",
"tenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"type" : "ApiAccountIdentity"
}
Invitation
Find Invitations
GET /invitations
Query parameters
Supports standard paging query parameters.
Parameter | Type | Optional | Description |
---|---|---|---|
fromIdentityId |
Object |
true |
|
toTenantId |
Object |
true |
Deprecated.. |
toOrganizationId |
Object |
true |
|
invitedEmailAddress |
String |
true |
|
targetIdentityId |
Object |
true |
|
states |
Object |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527
[ {
"id" : "3d96e146-7bda-4ee8-88ee-d4594ed9b99e",
"fromIdentityId" : "0d2f0dae-aeca-4941-825f-06f68b56ba0b",
"toOrganizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"invitedEmailAddress" : "new.employee@acme.com",
"expiration" : {
"nano" : 884348000,
"epochSecond" : 1738857617
},
"targetUserIdentityId" : "754d128b-0664-4e5c-9fbd-09cdfdc3c9c9",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"state" : "Open",
"toTenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3"
} ]
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}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/7d7dd072-513a-4eef-b09f-a680b7fc318c' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 527
{
"id" : "7d7dd072-513a-4eef-b09f-a680b7fc318c",
"fromIdentityId" : "a93fc3bf-760b-4603-8a84-2a74b9e3f17b",
"toOrganizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"invitedEmailAddress" : "new.employee-219@acme.com",
"expiration" : {
"nano" : 156337000,
"epochSecond" : 1738857618
},
"targetUserIdentityId" : "acde547b-d75c-4bf7-b0a2-27790150b0f5",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"state" : "Open",
"toTenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3"
}
Create Invitation
POST /invitations
Authorization
This endpoint requires:
-
create
action on thisinvitation
resource. -
read
action on theuser-identity
resource identified by thetargetUserIdentityId
property.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationUrl |
String |
true |
|
targetUserIdentityId |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"toOrganizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.console.netfoundry.io/invitation",
"targetUserIdentityId" : "754d128b-0664-4e5c-9fbd-09cdfdc3c9c9"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 523
{
"id" : "3d96e146-7bda-4ee8-88ee-d4594ed9b99e",
"fromIdentityId" : "0d2f0dae-aeca-4941-825f-06f68b56ba0b",
"toOrganizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"invitedEmailAddress" : "new.employee@acme.com",
"expiration" : {
"nano" : 884348000,
"epochSecond" : 1738857617
},
"targetUserIdentityId" : "754d128b-0664-4e5c-9fbd-09cdfdc3c9c9",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"state" : "Open",
"toTenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3"
}
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}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/315c2f2a-c579-483b-b9a7-e7aa0c3c162b/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 587
{
"id" : "315c2f2a-c579-483b-b9a7-e7aa0c3c162b",
"fromIdentityId" : "a93fc3bf-760b-4603-8a84-2a74b9e3f17b",
"toOrganizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"invitedEmailAddress" : "new.employee-216@acme.com",
"expiration" : {
"nano" : 98051000,
"epochSecond" : 1738857618
},
"targetUserIdentityId" : "cbdaed3c-3cd8-450e-a20a-1bf7f1e2ec19",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 114268000,
"epochSecond" : 1738252818
},
"state" : "Declined",
"toTenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3"
}
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
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
state |
String |
true |
|
toTenantId |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/c25a59b4-030d-42dd-9bd2-0a710c6f5154/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 642
{
"id" : "c25a59b4-030d-42dd-9bd2-0a710c6f5154",
"fromIdentityId" : "a93fc3bf-760b-4603-8a84-2a74b9e3f17b",
"toOrganizationId" : "8ddffa32-0209-480c-9450-eaab9dada4b3",
"invitedEmailAddress" : "new.employee-222@acme.com",
"expiration" : {
"nano" : 204457000,
"epochSecond" : 1738857618
},
"targetUserIdentityId" : "80516ea0-b6ab-4cec-89ee-0fbe4d13da8e",
"accepted" : null,
"revokedAt" : {
"nano" : 218979000,
"epochSecond" : 1738252818
},
"responseReceivedAt" : {
"nano" : 218983000,
"epochSecond" : 1738252818
},
"state" : "Revoked",
"toTenantId" : "8ddffa32-0209-480c-9450-eaab9dada4b3"
}
Support
Create Support Request
POST /nfconsole/support/requests
Authorization
Authorization not required for this request.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
name |
String |
true |
|
String |
true |
||
selectedOrganizationId |
String |
true |
|
selectedNetworkId |
String |
true |
|
subject |
String |
true |
|
comment |
String |
true |
|
type |
String |
true |
Must be one of [problem, incident, question, task]. |
priority |
String |
true |
Must be one of [urgent, high, normal, low]. |
severity |
String |
true |
Must be one of [Severity1, Severity2, Severity3]. |
recentErrorMessages |
Array[String] |
true |
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",
"severity" : "Severity3",
"recentErrorMessages" : null
}'
Example response
HTTP/1.1 200 OK
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 |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
fromIdentity |
Object |
true |
|
fromIdentity.name |
String |
true |
|
fromIdentity.email |
String |
true |
|
targetIdentity |
Object |
true |
|
targetIdentity.name |
String |
true |
|
targetIdentity.email |
String |
true |
|
invitedEmailAddress |
String |
true |
|
toOrganizationName |
String |
true |
|
toOrganizationLabel |
String |
true |
|
expiration |
Object |
true |
|
accepted |
Boolean |
true |
|
state |
String |
true |
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/kfXBxdT9kw1t8km40DmV9d61mjX1E04ItbZi' -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-229@acme.com"
},
"invitedEmailAddress" : "new.employee-231@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-0",
"expiration" : {
"nano" : 554440000,
"epochSecond" : 1738857618
},
"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 |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
fromIdentity |
Object |
true |
|
fromIdentity.name |
String |
true |
|
fromIdentity.email |
String |
true |
|
targetIdentity |
Object |
true |
|
targetIdentity.name |
String |
true |
|
targetIdentity.email |
String |
true |
|
invitedEmailAddress |
String |
true |
|
toOrganizationName |
String |
true |
|
toOrganizationLabel |
String |
true |
|
expiration |
Object |
true |
|
accepted |
Boolean |
true |
|
state |
String |
true |
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/OwMtDnOZBbDEagLjQIAv5lOjLylUhMKusUBj/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-226@acme.com"
},
"invitedEmailAddress" : "new.employee-228@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-0",
"expiration" : {
"nano" : 485618000,
"epochSecond" : 1738857618
},
"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 |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
intermediateReturnUrl |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
nfToken |
String |
true |
|
auth0ConnectionIds |
Array[String] |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/sjhh65dOyJBn1NLhOQq2GnSTMgh1yaSI9TUJ/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: 981
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MzgyNTI4MTgsImV4cCI6MTczODI1MzcxOCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJpbnZpdGF0aW9uIiwiaW52aXRhdGlvbklkIjoiMzMwNmYxZTktMWE2My00NDg2LWE2MGYtMDJkNmYyMjY0MWMyIiwidGVuYW50TGFiZWwiOiJBQ01FLTAiLCJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0yIiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0xIl0sInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24ifQ.RhRFhcR0dOsX3ToInDYHwnZLwvILtIZUAAoWbUP3wPX_8iyNwJgpxpYQtG_E4wnIeonwVF9rzSqy6e5eAEycYgBBTBvz63uBu4nxJ5a-HhLePiJPCTGA7luW2-hC0tCbpdIH9KETP2zOnaY7tljPxyMDsrCDvmCJKd7D60zn7hJU6sJnAOdNEx8vSS_le4EY_vwSgFKPBRuzrHlvFSpaffdE5zZgEuP8E7dK2j6T15ZHJ9GP6__XdpO4D27qZV8CJv2VSPAjAJZfxVKYUjyNQI-SJj6-Bj1fjInUZmWVS4Hc0QyWs_TXh5gIPB3zpci7pxG43643wOlNYpUgXFUOxA",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-2", "auth0-opaque-connectionId-1" ]
}
Login Flow
Initiate Interactive Authorization
POST /organizations/authorize-initiate
Authorization
Authorization not required for this request.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
label |
String |
true |
|
intermediateReturnUrl |
String |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
nfToken |
String |
true |
|
auth0ConnectionIds |
Array[String] |
true |
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: 902
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MzgyNTI4MTgsImV4cCI6MTczODI1MzcxOCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0wIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMiIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMSJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.Qy6Es-93N7yRuV63K1Y2dLtRyt_rgNXpA1z--t77HZBUxfhBTkFz9q_SM2vrr96OpO9I15KaD6djFAgVUTdjLR45AV7vvg-x5REecLLjsemCJ5NE9zw-w8C7OrEjsLOJhIelr34MdBsBFoNLL7B1Zlg-6pcuKeHALDaNUtXSeOGtCUJ0I-qvkb6iLUgr92x6cncQG0PkryUD6eJKirh-HLIi4CtNrL1Us1UjfVyI8BvGzqESRqmHB7TmC24h0Rk6jgAMWyLYRK8CvtiYpj2xQuPd-x_IhvsWbx-P52X0gaFecF9qT8GXRm0K4tdtr4rNOjyLPsJ_LZfY-ZuxGDuySw",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-2", "auth0-opaque-connectionId-1" ]
}
Identity Preference Flow
Find Identity Preferences
GET /identity-preferences
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1294
[ {
"id" : "2385c37d-f4a0-4b5a-83de-f77c16960085",
"userIdentityId" : "4a4aa69c-c251-4944-987b-f9b7314dcbee",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "4a4aa69c-c251-4944-987b-f9b7314dcbee",
"createdAt" : {
"nano" : 964582000,
"epochSecond" : 1738252814
},
"updatedAt" : {
"nano" : 964582000,
"epochSecond" : 1738252814
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "44a08102-5e84-4926-a4d7-0217c7ed01ae",
"userIdentityId" : "9d168e81-2a65-46b3-a205-7f8f76ec97a2",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "9d168e81-2a65-46b3-a205-7f8f76ec97a2",
"createdAt" : {
"nano" : 47270000,
"epochSecond" : 1738252815
},
"updatedAt" : {
"nano" : 47270000,
"epochSecond" : 1738252815
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "5072c72a-21ab-4907-9ca7-8e2fe65b4a47",
"userIdentityId" : "ddc26e75-3671-4623-9f89-9b31ef3d4d5b",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "ddc26e75-3671-4623-9f89-9b31ef3d4d5b",
"createdAt" : {
"nano" : 95475000,
"epochSecond" : 1738252815
},
"updatedAt" : {
"nano" : 95475000,
"epochSecond" : 1738252815
},
"deletedBy" : null,
"deletedAt" : null
} ]
Get Identity Preference
GET /identity-preferences/{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}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/22591295-5dda-4099-bd6a-871af7131142' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "22591295-5dda-4099-bd6a-871af7131142",
"userIdentityId" : "5b0ebfdb-d508-4120-a9cf-6feeb5efeaec",
"preferences" : {
"hello" : "world"
},
"createdBy" : "5b0ebfdb-d508-4120-a9cf-6feeb5efeaec",
"createdAt" : {
"nano" : 137821000,
"epochSecond" : 1738252816
},
"updatedAt" : {
"nano" : 137821000,
"epochSecond" : 1738252816
},
"deletedBy" : null,
"deletedAt" : null
}
Upsert Identity Preference
POST /identity-preferences
Authorization
This endpoint requires no specific permission, only an authenticated client.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"userIdentityId" : null,
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "8dab06c8-c8d6-4cb7-a1c7-aa34632b50cb",
"userIdentityId" : "829b21ff-5d58-4c34-b22b-0907b85a81bf",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "829b21ff-5d58-4c34-b22b-0907b85a81bf",
"createdAt" : {
"nano" : 504931000,
"epochSecond" : 1738252815
},
"updatedAt" : {
"nano" : 504931000,
"epochSecond" : 1738252815
},
"deletedBy" : null,
"deletedAt" : null
}
Upsert Identity Preference By Id
PUT /identity-preferences/{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
This endpoint requires:
-
create
action on thisidentity-preference
resource. -
update
action on thisidentity-preference
resource.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/5c3613b3-5ddf-4e65-9d5b-7918d2a48276' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"preferences" : {
"updated" : "my second preference."
}
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 433
{
"id" : "5c3613b3-5ddf-4e65-9d5b-7918d2a48276",
"userIdentityId" : "f1cef593-77e9-42e7-b21a-125e23d74481",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "f1cef593-77e9-42e7-b21a-125e23d74481",
"createdAt" : {
"nano" : 838982000,
"epochSecond" : 1738252816
},
"updatedAt" : {
"nano" : 850168000,
"epochSecond" : 1738252816
},
"deletedBy" : null,
"deletedAt" : null
}
Delete Identity Preference By Id
DELETE /identity-preferences/{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}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/2bb69877-8d83-4c01-ac70-517ec2fd6d4f' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "2bb69877-8d83-4c01-ac70-517ec2fd6d4f",
"userIdentityId" : "48513bc0-e1d9-443d-89dd-1ad4b63baeb4",
"preferences" : {
"hello" : "world"
},
"createdBy" : "48513bc0-e1d9-443d-89dd-1ad4b63baeb4",
"createdAt" : {
"nano" : 828417000,
"epochSecond" : 1738252815
},
"updatedAt" : {
"nano" : 837916000,
"epochSecond" : 1738252815
},
"deletedBy" : "c55f184c-d88c-4da2-8cc4-3f9f6d864a51",
"deletedAt" : {
"nano" : 837000000,
"epochSecond" : 1738252815
}
}
Organization Preference Flow
Find Organization Preferences
GET /organization-preferences
Response fields
Standard paging response where content
field is list of following objects:
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1268
[ {
"id" : "392fb0e8-a31e-4760-8bd4-2841ab12898f",
"organizationId" : "e5d35b47-9caf-44ae-a9bd-8ae635bdcd77",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "88a80ae5-e302-43f2-94ab-1bcd458f36e3",
"createdAt" : {
"nano" : 468965000,
"epochSecond" : 1738252821
},
"updatedAt" : {
"nano" : 468965000,
"epochSecond" : 1738252821
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "9fa81ba5-3bb5-42fe-b4ba-54283958d81b",
"organizationId" : "4e1a4379-78b2-4f8d-87e4-d787721b6fa2",
"preferences" : {
"hello" : "world"
},
"createdBy" : "9e7266ea-0946-47cb-9c8b-1734ced855d7",
"createdAt" : {
"nano" : 401647000,
"epochSecond" : 1738252821
},
"updatedAt" : {
"nano" : 401647000,
"epochSecond" : 1738252821
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "c28cdc87-066c-446d-b5e3-6b2004e1ed45",
"organizationId" : "c298a9ae-e3f3-46e3-bf00-ec6825bed22b",
"preferences" : {
"hello" : "world"
},
"createdBy" : "d8d41b67-55f1-4488-ad50-a3b719ea2e93",
"createdAt" : {
"nano" : 618724000,
"epochSecond" : 1738252821
},
"updatedAt" : {
"nano" : 618724000,
"epochSecond" : 1738252821
},
"deletedBy" : null,
"deletedAt" : null
} ]
Get Organization Preference
GET /organization-preferences/{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}}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences/c28cdc87-066c-446d-b5e3-6b2004e1ed45' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "c28cdc87-066c-446d-b5e3-6b2004e1ed45",
"organizationId" : "c298a9ae-e3f3-46e3-bf00-ec6825bed22b",
"preferences" : {
"hello" : "world"
},
"createdBy" : "d8d41b67-55f1-4488-ad50-a3b719ea2e93",
"createdAt" : {
"nano" : 618724000,
"epochSecond" : 1738252821
},
"updatedAt" : {
"nano" : 618724000,
"epochSecond" : 1738252821
},
"deletedBy" : null,
"deletedAt" : null
}
Create Organization Preference
POST /organization-preferences
Request fields
Path | Type | Optional | Description |
---|---|---|---|
organizationId |
String |
true |
|
preferences |
Object |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "e5d35b47-9caf-44ae-a9bd-8ae635bdcd77",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "392fb0e8-a31e-4760-8bd4-2841ab12898f",
"organizationId" : "e5d35b47-9caf-44ae-a9bd-8ae635bdcd77",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "88a80ae5-e302-43f2-94ab-1bcd458f36e3",
"createdAt" : {
"nano" : 468965000,
"epochSecond" : 1738252821
},
"updatedAt" : {
"nano" : 468965000,
"epochSecond" : 1738252821
},
"deletedBy" : null,
"deletedAt" : null
}
Update Organization Preference
PUT /organization-preferences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Request fields
Path | Type | Optional | Description |
---|---|---|---|
preferences |
Object |
true |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences/510d40cd-77a6-4e7b-ae78-1f297af8bbed' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"preferences" : {
"updated" : "my second preference."
}
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 433
{
"id" : "510d40cd-77a6-4e7b-ae78-1f297af8bbed",
"organizationId" : "e529febf-5a65-4f9a-a86a-c75d29a19606",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "04e8205c-d5a9-4356-853f-19176a4cff00",
"createdAt" : {
"nano" : 768479000,
"epochSecond" : 1738252821
},
"updatedAt" : {
"nano" : 811697000,
"epochSecond" : 1738252821
},
"deletedBy" : null,
"deletedAt" : null
}
Delete Organization Preference
DELETE /organization-preferences/{id}
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Object |
false |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences/99cf39f5-0cde-4480-9daf-b73ab6daa76b' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "99cf39f5-0cde-4480-9daf-b73ab6daa76b",
"organizationId" : "e0c523dd-97ff-460b-a0ca-d7e1e7b5e475",
"preferences" : {
"hello" : "world"
},
"createdBy" : "2bc1e251-2b9f-49e2-bddb-80ff8aa37dde",
"createdAt" : {
"nano" : 531292000,
"epochSecond" : 1738252821
},
"updatedAt" : {
"nano" : 557748000,
"epochSecond" : 1738252821
},
"deletedBy" : "18d8bcb2-7767-4f01-9ae9-7209a836b401",
"deletedAt" : {
"nano" : 557000000,
"epochSecond" : 1738252821
}
}