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 |
|---|---|---|---|
realmId |
Object |
true |
|
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 |
|
realmId |
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 |
|
deletedBy |
String |
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
Link: <https://gateway.netFoundry.io/identity/v1/organizations?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/organizations?page=1>; rel="last"
Content-Type: application/json
Content-Length: 3486
[ {
"id" : "04ed0a5e-d9ea-4515-9261-1fe81128023a",
"realmId" : "6dc3f0cd-ef6d-42cf-8b21-920b3363d111",
"name" : "World Wide Imports",
"label" : "WW-Imports-55",
"identityProviders" : [ {
"id" : "df6de709-d7af-4d12-b4d3-84558b62fc36",
"organizationId" : "04ed0a5e-d9ea-4515-9261-1fe81128023a",
"auth0ConnectionId" : "auth0-opaque-connectionId-56",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 331048000,
"epochSecond" : 1764810935
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "845f5993-b285-4cf4-afeb-9d652731768f",
"organizationId" : "04ed0a5e-d9ea-4515-9261-1fe81128023a",
"name" : "Standard Role - 8fcbd53d-c15f-4d9d-b3e0-4e4e2358c47c",
"roleType" : "Standard",
"roleId" : "8fcbd53d-c15f-4d9d-b3e0-4e4e2358c47c",
"createdBy" : "43432d6d-1d2d-426e-98d0-155d5d7e5fb7",
"createdAt" : {
"nano" : 359013000,
"epochSecond" : 1764810935
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 327302000,
"epochSecond" : 1764810935
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "29905538-977e-46a2-9dc0-0c5fc570fde1",
"realmId" : "6dc3f0cd-ef6d-42cf-8b21-920b3363d111",
"name" : "World Wide Imports",
"label" : "WW-Imports-86",
"identityProviders" : [ {
"id" : "9d632c6e-8d27-4128-9386-f0d5794b9e49",
"organizationId" : "29905538-977e-46a2-9dc0-0c5fc570fde1",
"auth0ConnectionId" : "auth0-opaque-connectionId-87",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 611351000,
"epochSecond" : 1764810936
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "05cea38c-33bb-4d01-a60a-da9398a10d3c",
"organizationId" : "29905538-977e-46a2-9dc0-0c5fc570fde1",
"name" : "Standard Role - 6a00714d-6ed9-4999-8bda-a8efd147fa67",
"roleType" : "Standard",
"roleId" : "6a00714d-6ed9-4999-8bda-a8efd147fa67",
"createdBy" : "e0c447b3-ed5a-462e-a98a-e0859e446186",
"createdAt" : {
"nano" : 625693000,
"epochSecond" : 1764810936
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 609532000,
"epochSecond" : 1764810936
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "2aa5ca97-7a5d-4d20-8439-6b9bf71bc15c",
"realmId" : "6dc3f0cd-ef6d-42cf-8b21-920b3363d111",
"name" : "World Wide Imports",
"label" : "WW-Imports-129",
"identityProviders" : [ {
"id" : "f954bffb-42e1-477f-a58b-6c5072c83a8c",
"organizationId" : "2aa5ca97-7a5d-4d20-8439-6b9bf71bc15c",
"auth0ConnectionId" : "auth0-opaque-connectionId-130",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 613203000,
"epochSecond" : 1764810938
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 611357000,
"epochSecond" : 1764810938
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
} ]
Get Organization By Self
GET /organizations/self
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/self' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2220
{
"id" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "d3a4742a-7df8-408e-a61f-e151a7590830",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 745178000,
"epochSecond" : 1764810886
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "88b5ac06-ffbd-44bb-a12d-f9bb516e1bc3",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 731795000,
"epochSecond" : 1764810886
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "2312271b-7833-40a0-9966-e451315d03ec",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "Standard Role - 0c381d45-071f-4e19-bc44-642184b49f20",
"roleType" : "Standard",
"roleId" : "0c381d45-071f-4e19-bc44-642184b49f20",
"createdBy" : "13d93522-9982-46a7-b0b7-beb5d45cd0d7",
"createdAt" : {
"nano" : 909893000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "340c3c90-3035-48af-aeb0-a9b132ddc676",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "Custom Role - 670ae6e4-164d-450b-93af-a6ad56773139",
"roleType" : "Custom",
"roleId" : "670ae6e4-164d-450b-93af-a6ad56773139",
"createdBy" : "919b38e7-7cee-4e83-9a4b-7f6785a50b33",
"createdAt" : {
"nano" : 928294000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 727122000,
"epochSecond" : 1764810886
},
"updatedAt" : null,
"deletedBy" : 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 |
|
realmId |
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 |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/2e7155bf-fc1a-49f2-9689-c4188b6d2567' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2220
{
"id" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "d3a4742a-7df8-408e-a61f-e151a7590830",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 745178000,
"epochSecond" : 1764810886
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "88b5ac06-ffbd-44bb-a12d-f9bb516e1bc3",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 731795000,
"epochSecond" : 1764810886
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "2312271b-7833-40a0-9966-e451315d03ec",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "Standard Role - 0c381d45-071f-4e19-bc44-642184b49f20",
"roleType" : "Standard",
"roleId" : "0c381d45-071f-4e19-bc44-642184b49f20",
"createdBy" : "13d93522-9982-46a7-b0b7-beb5d45cd0d7",
"createdAt" : {
"nano" : 909893000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "340c3c90-3035-48af-aeb0-a9b132ddc676",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "Custom Role - 670ae6e4-164d-450b-93af-a6ad56773139",
"roleType" : "Custom",
"roleId" : "670ae6e4-164d-450b-93af-a6ad56773139",
"createdBy" : "919b38e7-7cee-4e83-9a4b-7f6785a50b33",
"createdAt" : {
"nano" : 928294000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 727122000,
"epochSecond" : 1764810886
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
Get Organization By Label
GET /organizations/label/{label:[a-zA-Z0-9]+[-a-zA-Z0-9]{1,62}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
label |
String |
false |
Query parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
realm |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
realmId |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
active |
Boolean |
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 |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/label/ACME-2' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1060
{
"id" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"active" : true,
"identityProviders" : [ {
"id" : "d3a4742a-7df8-408e-a61f-e151a7590830",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 745178000,
"epochSecond" : 1764810886
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "88b5ac06-ffbd-44bb-a12d-f9bb516e1bc3",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 731795000,
"epochSecond" : 1764810886
},
"updatedAt" : null,
"deletedAt" : null
} ],
"mfaProvider" : null
}
Create Organization
POST /organizations
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
realmId |
String |
true |
|
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 |
|
realmId |
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 |
|
deletedBy |
String |
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 '{
"realmId" : "09522244-74a6-4faf-a336-e8daa0befdb6",
"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: 812
{
"id" : "91db4df2-56d0-47de-8fcf-40b8276313d4",
"realmId" : "09522244-74a6-4faf-a336-e8daa0befdb6",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "9ca0bbe1-4dce-4b06-a3e2-1b0b8f811ebe",
"organizationId" : "91db4df2-56d0-47de-8fcf-40b8276313d4",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 110341000,
"epochSecond" : 1764810946
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 109210000,
"epochSecond" : 1764810946
},
"updatedAt" : null,
"deletedBy" : 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 |
|
realmId |
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 |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/bf463156-d118-49bd-9e48-d64673aa386f/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 893
{
"id" : "bf463156-d118-49bd-9e48-d64673aa386f",
"realmId" : "6dc3f0cd-ef6d-42cf-8b21-920b3363d111",
"name" : "World Wide Imports",
"label" : "WW-Imports-279",
"identityProviders" : [ {
"id" : "505756fc-a9d4-4aea-ad01-e22596649d21",
"organizationId" : "bf463156-d118-49bd-9e48-d64673aa386f",
"auth0ConnectionId" : "auth0-opaque-connectionId-280",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 153197000,
"epochSecond" : 1764810947
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 151801000,
"epochSecond" : 1764810947
},
"updatedAt" : {
"nano" : 166178000,
"epochSecond" : 1764810947
},
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
Add Identity Provider
POST /organizations/{id}/identity-providers
Authorization
This endpoint requires:
-
create-identity-provideraction on thisorganizationresource.
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 |
|
realmId |
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 |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/f2df5e7b-0ac4-4412-becc-50e0ec3c39e7/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: 1232
{
"id" : "f2df5e7b-0ac4-4412-becc-50e0ec3c39e7",
"realmId" : "6dc3f0cd-ef6d-42cf-8b21-920b3363d111",
"name" : "World Wide Imports",
"label" : "WW-Imports-275",
"identityProviders" : [ {
"id" : "40f5f027-60f8-41a9-9e0e-8b822cd443b1",
"organizationId" : "f2df5e7b-0ac4-4412-becc-50e0ec3c39e7",
"auth0ConnectionId" : "auth0-opaque-connectionId-276",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 956728000,
"epochSecond" : 1764810946
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "0e8b0302-02fe-4261-b571-0c074967a573",
"organizationId" : "f2df5e7b-0ac4-4412-becc-50e0ec3c39e7",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 977579000,
"epochSecond" : 1764810946
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 954969000,
"epochSecond" : 1764810946
},
"updatedAt" : null,
"deletedBy" : 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: 1265
[ {
"id" : "014b4857-e860-47ff-92c8-c2b8d2b024e8",
"issuer" : "https://bfc8765a-16c2-4174-8e44-747950b70435.issuer.idp",
"jwksUri" : "https://bfc8765a-16c2-4174-8e44-747950b70435.issuer.idp/jwks",
"active" : true,
"createdBy" : "3dbeb22d-075e-45aa-995c-00a9bb96cc2b",
"createdAt" : {
"nano" : 723771000,
"epochSecond" : 1764810943
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "3142457e-ccbb-4142-a264-ed66e225df83",
"issuer" : "https://4fddd5d7-cbc9-4f2c-9961-f93a0f67e22a.issuer.idp",
"jwksUri" : "https://4fddd5d7-cbc9-4f2c-9961-f93a0f67e22a.issuer.idp/jwks",
"active" : true,
"createdBy" : "9ff40baa-5dad-4351-bc03-44313f28c160",
"createdAt" : {
"nano" : 108868000,
"epochSecond" : 1764810944
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "41c28e64-9eb1-4313-8360-702907474c4b",
"issuer" : "https://d074fdc4-a782-4b17-a0ae-70acc855ff00.issuer.idp",
"jwksUri" : "https://d074fdc4-a782-4b17-a0ae-70acc855ff00.issuer.idp/jwks",
"active" : true,
"createdBy" : "cc7bf2c1-0c74-4744-b8b5-1551a361b35c",
"createdAt" : {
"nano" : 895523000,
"epochSecond" : 1764810943
},
"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/d917a691-ba86-4b30-abcf-8d0e8fe5befe' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "d917a691-ba86-4b30-abcf-8d0e8fe5befe",
"issuer" : "https://9a49acfb-0ad9-4c21-b84b-e8b7c26e245d.issuer.idp",
"jwksUri" : "https://9a49acfb-0ad9-4c21-b84b-e8b7c26e245d.issuer.idp/jwks",
"active" : true,
"createdBy" : "bf1e1107-5837-4abc-95ca-64686ae2fc27",
"createdAt" : {
"nano" : 813903000,
"epochSecond" : 1764810944
},
"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://e49ba738-adce-4f50-a116-d3842264cb99.issuer.idp",
"jwksUri" : "https://e49ba738-adce-4f50-a116-d3842264cb99.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 419
{
"id" : "0d8d0b63-6637-4b09-8c66-0771ae347014",
"issuer" : "https://e49ba738-adce-4f50-a116-d3842264cb99.issuer.idp",
"jwksUri" : "https://e49ba738-adce-4f50-a116-d3842264cb99.issuer.idp/jwks",
"active" : true,
"createdBy" : "871a2a0d-d749-4aaa-84f7-0b6a893762b1",
"createdAt" : {
"nano" : 753804000,
"epochSecond" : 1764810944
},
"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/4a83d701-ca32-4892-9958-cc21c958c134' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://1c22581c-8707-4545-bb20-a4352825afe3.issuer.idp",
"jwksUri" : "https://1c22581c-8707-4545-bb20-a4352825afe3.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "4a83d701-ca32-4892-9958-cc21c958c134",
"issuer" : "https://1c22581c-8707-4545-bb20-a4352825afe3.issuer.idp",
"jwksUri" : "https://1c22581c-8707-4545-bb20-a4352825afe3.issuer.idp/jwks",
"active" : false,
"createdBy" : "f4a73710-0734-4c84-9dac-11c52ed489d1",
"createdAt" : {
"nano" : 649406000,
"epochSecond" : 1764810944
},
"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/293b90ee-846b-41c7-8e73-befeb0ebe825' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "293b90ee-846b-41c7-8e73-befeb0ebe825",
"issuer" : "https://0f69dcc8-144a-42ba-8fd1-4a02edda66da.issuer.idp",
"jwksUri" : "https://0f69dcc8-144a-42ba-8fd1-4a02edda66da.issuer.idp/jwks",
"active" : true,
"createdBy" : "3e26d384-f5df-4bf2-bbf9-604d6dd2c28c",
"createdAt" : {
"nano" : 866463000,
"epochSecond" : 1764810944
},
"deletedAt" : {
"nano" : 883710000,
"epochSecond" : 1764810944
},
"deletedBy" : "671997a2-50f8-4682-a3a0-3b00854fa58f",
"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: 2070
[ {
"id" : "09ba07a6-f588-4710-94e7-7a29060a8870",
"oidcIssuerId" : "d57dcfff-ee78-4dc9-af3f-37a849cfca2d",
"clientId" : "clientId-e452e633-c69b-4365-88e2-eaa098275f77",
"clientSecret" : "clientSecret-e6fb8e54-6406-44c0-a880-508d09877843",
"authorizationEndpoint" : "https://895a06a4-ac78-4327-94c9-0de05b30e600.issuer.idp/authorize",
"tokenEndpoint" : "https://895a06a4-ac78-4327-94c9-0de05b30e600.issuer.idp/token",
"userInfoEndpoint" : "https://895a06a4-ac78-4327-94c9-0de05b30e600.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "1078c985-6391-4d52-a37c-dea879cc1a16",
"createdAt" : {
"nano" : 977063000,
"epochSecond" : 1764810944
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"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" : 700837000,
"epochSecond" : 1764810882
},
"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" : 700837000,
"epochSecond" : 1764810882
},
"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/5a066a44-4741-4190-b278-1f84bcab4c7c' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 776
{
"id" : "5a066a44-4741-4190-b278-1f84bcab4c7c",
"oidcIssuerId" : "a5287372-821b-41f2-917b-1f40c66a9520",
"clientId" : "clientId-b3ac40ab-bb97-4ddf-8a4f-2268b37035a6",
"clientSecret" : "clientSecret-ccb5760c-5ec3-49a7-ba79-2a33327a64c8",
"authorizationEndpoint" : "https://f0ec60df-19d1-4af6-ae01-6e0ef995ca16.issuer.idp/authorize",
"tokenEndpoint" : "https://f0ec60df-19d1-4af6-ae01-6e0ef995ca16.issuer.idp/token",
"userInfoEndpoint" : "https://f0ec60df-19d1-4af6-ae01-6e0ef995ca16.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "40ad62b4-0ff3-456b-b447-f019c4a77e1f",
"createdAt" : {
"nano" : 626862000,
"epochSecond" : 1764810945
},
"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" : "8401d08e-4a28-4857-a785-0ac12b3882bb",
"clientId" : "clientId-3d954ff5-0998-4a6b-b8df-a40456bb6f37",
"clientSecret" : "clientSecret-1affc7f4-cd9c-43f3-9a53-3668f065071d",
"authorizationEndpoint" : "https://70bd2d7e-803a-43b8-9c92-c5a002bccd5b.issuer.idp/authorize",
"tokenEndpoint" : "https://70bd2d7e-803a-43b8-9c92-c5a002bccd5b.issuer.idp/token",
"userInfoEndpoint" : "https://70bd2d7e-803a-43b8-9c92-c5a002bccd5b.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "2e4e74e3-ebef-40a3-bb07-eb273ffa358d",
"oidcIssuerId" : "8401d08e-4a28-4857-a785-0ac12b3882bb",
"clientId" : "clientId-3d954ff5-0998-4a6b-b8df-a40456bb6f37",
"clientSecret" : "clientSecret-1affc7f4-cd9c-43f3-9a53-3668f065071d",
"authorizationEndpoint" : "https://70bd2d7e-803a-43b8-9c92-c5a002bccd5b.issuer.idp/authorize",
"tokenEndpoint" : "https://70bd2d7e-803a-43b8-9c92-c5a002bccd5b.issuer.idp/token",
"userInfoEndpoint" : "https://70bd2d7e-803a-43b8-9c92-c5a002bccd5b.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "c0a03611-b69f-457a-ac89-e9ce95c69a08",
"createdAt" : {
"nano" : 562575000,
"epochSecond" : 1764810945
},
"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/cda4878f-81ab-41a1-a3c7-3a0a515d5edc' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-6c6ed437-6206-40bc-9727-cad590f33fd1",
"clientSecret" : "clientSecret-0ea3754c-29e4-4c28-834b-fa232ce18c0d",
"authorizationEndpoint" : "https://b5bd29a5-201d-4fdf-8f2b-7327e7021f80.issuer.idp/authorize",
"tokenEndpoint" : "https://b5bd29a5-201d-4fdf-8f2b-7327e7021f80.issuer.idp/token",
"userInfoEndpoint" : "https://b5bd29a5-201d-4fdf-8f2b-7327e7021f80.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 777
{
"id" : "cda4878f-81ab-41a1-a3c7-3a0a515d5edc",
"oidcIssuerId" : "1091ea99-9dee-4c2b-a9ff-cf890d3066d3",
"clientId" : "clientId-6c6ed437-6206-40bc-9727-cad590f33fd1",
"clientSecret" : "clientSecret-0ea3754c-29e4-4c28-834b-fa232ce18c0d",
"authorizationEndpoint" : "https://b5bd29a5-201d-4fdf-8f2b-7327e7021f80.issuer.idp/authorize",
"tokenEndpoint" : "https://b5bd29a5-201d-4fdf-8f2b-7327e7021f80.issuer.idp/token",
"userInfoEndpoint" : "https://b5bd29a5-201d-4fdf-8f2b-7327e7021f80.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "d846a47e-c6b4-4619-b43e-c59a8933a4cf",
"createdAt" : {
"nano" : 446743000,
"epochSecond" : 1764810945
},
"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/394c7604-3c17-4856-8fd2-90c6c035208e' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 865
{
"id" : "394c7604-3c17-4856-8fd2-90c6c035208e",
"oidcIssuerId" : "6f2bae1f-f721-4c15-af8c-3414fc878fd0",
"clientId" : "clientId-d2898403-bf98-4dca-9b39-344cd21220d9",
"clientSecret" : "clientSecret-b98449e5-da21-4a25-891e-a4306d676060",
"authorizationEndpoint" : "https://1e381bcc-a953-4c2e-af0c-993b570deb97.issuer.idp/authorize",
"tokenEndpoint" : "https://1e381bcc-a953-4c2e-af0c-993b570deb97.issuer.idp/token",
"userInfoEndpoint" : "https://1e381bcc-a953-4c2e-af0c-993b570deb97.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "dbd34599-917f-45d1-82c7-0029589ab257",
"createdAt" : {
"nano" : 738391000,
"epochSecond" : 1764810945
},
"deletedAt" : {
"nano" : 750206000,
"epochSecond" : 1764810945
},
"deletedBy" : "eb6f30a4-16e7-4f6c-898f-f230308d218c",
"deleted" : true
}
Organization to OIDC Public Client Mappings
Find Organization Oidc Public Client Mappings
GET /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
readaction on thisorganization-oidc-public-client-mappingresource.
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 |
|
customQueryParameters |
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/organization-oidc-public-client-mappings' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1538
[ {
"id" : "015275fd-0dfb-4ae8-a99c-a60c4d9f3660",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"oidcPublicClientId" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"name" : "ACME Federated Active Directory",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "67596048-de42-4509-b8fd-37970f71c379",
"createdAt" : {
"nano" : 868156000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "466d7750-c719-4716-b577-e7f6ad0df1b5",
"organizationId" : "32d0fe3a-d464-405c-84cf-903e4e453c12",
"oidcPublicClientId" : "960e449d-760d-419d-9827-7309bf119429",
"name" : "console-client-6a61aed1-73df-4768-9c67-671c857fca8d",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "f763c3f1-7ea6-4eef-baf9-f7d8c77db279",
"createdAt" : {
"nano" : 388515000,
"epochSecond" : 1764810947
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "67841b69-491e-4b23-95de-9d6cd223441f",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"oidcPublicClientId" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"name" : "NFSUPPORT-RO Google Account",
"active" : true,
"customQueryParameters" : "{\"audience\": \"https://gateway.{env}.netfoundry.io/\", \"connection\": \"google-oauth2\"}",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 208809000,
"epochSecond" : 1764810882
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Organization Oidc Public Client Mapping
GET /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
readaction on thisorganization-oidc-public-client-mappingresource.
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 |
|
customQueryParameters |
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/organization-oidc-public-client-mappings/3b37473d-5edf-4451-a6a4-07b685bf46d6' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 495
{
"id" : "3b37473d-5edf-4451-a6a4-07b685bf46d6",
"organizationId" : "24c2350a-f701-41c1-9e7e-cdf5676f8327",
"oidcPublicClientId" : "b1b682df-f266-42f6-b26e-c36033019ebc",
"name" : "console-client-9aface08-e77b-48dc-bffa-cf48fc7b1be0",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "d38ef2b8-d1b8-4164-8ce0-29387f091c1c",
"createdAt" : {
"nano" : 194604000,
"epochSecond" : 1764810948
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Organization Oidc Public Client Mapping
POST /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
createaction on thisorganization-oidc-public-client-mappingresource. -
readaction on theoidc-public-clientresource identified by theoidcPublicClientIdproperty.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
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/organization-oidc-public-client-mappings' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "0ace388b-7095-4c48-a2d2-3a311ff3bd6e",
"oidcPublicClientId" : "540f9275-3c55-4c9f-b125-3f60e2b9f317",
"name" : "console-client-558bb830-0b8f-48c1-82d4-1283bbb81f45",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 494
{
"id" : "ad4fba09-9664-42bb-95c9-7ccb277ec4f1",
"organizationId" : "0ace388b-7095-4c48-a2d2-3a311ff3bd6e",
"oidcPublicClientId" : "540f9275-3c55-4c9f-b125-3f60e2b9f317",
"name" : "console-client-558bb830-0b8f-48c1-82d4-1283bbb81f45",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "2a11b16e-9f16-481c-91fc-5cefcec4c982",
"createdAt" : {
"nano" : 74097000,
"epochSecond" : 1764810948
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Organization Oidc Public Client Mapping
PATCH /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
updateaction on thisorganization-oidc-public-client-mappingresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
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/organization-oidc-public-client-mappings/8dcca9c8-3dbe-41c8-9ac5-c94b876fbc29' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-558de40d-b2ca-49d4-85b3-34077e826e28",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 494
{
"id" : "8dcca9c8-3dbe-41c8-9ac5-c94b876fbc29",
"organizationId" : "9d9c2e62-6bb9-444d-8626-3ecf61587e73",
"oidcPublicClientId" : "410b83db-8167-4346-b904-4e7a7efa9a5a",
"name" : "custom-client-558de40d-b2ca-49d4-85b3-34077e826e28",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "0486b758-c4b2-4643-825f-2be40f0237bd",
"createdAt" : {
"nano" : 876672000,
"epochSecond" : 1764810947
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Organization Oidc Public Client Mapping
DELETE /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
deleteaction on thisorganization-oidc-public-client-mappingresource.
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 |
|
customQueryParameters |
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/organization-oidc-public-client-mappings/e753410f-9bd3-4ac4-a28e-aaae11887c59' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 543
{
"id" : "e753410f-9bd3-4ac4-a28e-aaae11887c59",
"organizationId" : "df522944-4aea-4b78-afe0-18e61a769be4",
"oidcPublicClientId" : "0f66d453-510a-4d60-9287-67fd02c841de",
"name" : "number two",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "faa68034-b69e-45ae-b774-5983cc124f4b",
"createdAt" : {
"nano" : 262479000,
"epochSecond" : 1764810948
},
"deletedAt" : {
"nano" : 275488000,
"epochSecond" : 1764810948
},
"deletedBy" : "2a26a0c8-85db-4d37-808d-9ba79843e8d9",
"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: 1282
[ {
"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" : 707718000,
"epochSecond" : 1764810882
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "720ded98-9cdb-4a1c-85d9-7b3fd2583141",
"oidcIssuerId" : "cd51c375-ea85-47ad-87c4-f0405f98e978",
"audience" : "mop-aud-875e5676-6769-411c-8fed-8a51b5192e33",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "a7ea30ce-484b-435b-9ee1-8b53c8bc47e3",
"createdAt" : {
"nano" : 453453000,
"epochSecond" : 1764810943
},
"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" : 707718000,
"epochSecond" : 1764810882
},
"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/b51c5bf9-400a-4055-a030-4ecb723e45b1' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "b51c5bf9-400a-4055-a030-4ecb723e45b1",
"oidcIssuerId" : "3142457e-ccbb-4142-a264-ed66e225df83",
"audience" : "mop-aud-afdc319b-a217-4fcf-be27-53e8943e972a",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "d562aba6-2b8e-4494-b860-24a2f8646570",
"createdAt" : {
"nano" : 111841000,
"epochSecond" : 1764810944
},
"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" : "cb1c63fd-83e8-4e48-9f01-4cf32d019691",
"audience" : "mop-aud-ae436f1f-1dae-4e6a-b3a3-da46f9ad8b08",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 429
{
"id" : "4edc7171-32ce-4823-93f5-e0a5c45ae0fb",
"oidcIssuerId" : "cb1c63fd-83e8-4e48-9f01-4cf32d019691",
"audience" : "mop-aud-ae436f1f-1dae-4e6a-b3a3-da46f9ad8b08",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "f3d8ac75-f85a-494f-a94d-0b60015ff670",
"createdAt" : {
"nano" : 31811000,
"epochSecond" : 1764810944
},
"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/36ee68c4-b057-4201-b11b-2e74b735f8ea' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-e9672274-7d51-4da7-9352-583fac8ee60f",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "36ee68c4-b057-4201-b11b-2e74b735f8ea",
"oidcIssuerId" : "41c28e64-9eb1-4313-8360-702907474c4b",
"audience" : "mop-aud-e9672274-7d51-4da7-9352-583fac8ee60f",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "75ee7016-7809-4c8e-b85a-15ab720a4617",
"createdAt" : {
"nano" : 898531000,
"epochSecond" : 1764810943
},
"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/ed0cd85a-faea-4ca3-8238-5f3bc6910f50' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"id" : "ed0cd85a-faea-4ca3-8238-5f3bc6910f50",
"oidcIssuerId" : "a259a0cb-6adc-4aac-819f-019ceb9b686e",
"audience" : "mop-aud-99898711-315e-4653-9b68-3795de6fe3a8",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "20ee0d3f-dc49-4ca8-b09a-e109227f612d",
"createdAt" : {
"nano" : 193650000,
"epochSecond" : 1764810944
},
"deletedAt" : {
"nano" : 210408000,
"epochSecond" : 1764810944
},
"deletedBy" : "8cd966b9-7b7d-4c2f-8030-08fbbe389964",
"deleted" : true
}
User Identity to OIDC Audience Mappings
Find User Identity Audience Mappings
GET /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
readaction on thisuser-identity-oidc-audience-mappingresource.
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:
-
readaction on thisuser-identity-oidc-audience-mappingresource.
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/ac984b2d-65bd-41c9-8167-d2a0c32d7ddf' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 460
{
"id" : "ac984b2d-65bd-41c9-8167-d2a0c32d7ddf",
"userIdentityId" : "47bc8721-49a3-4fbc-8854-2437107c2a7e",
"oidcAudienceId" : "1b76e354-5532-4aa2-a23e-345be84588da",
"subject" : "console-client-bdfe0011-efd8-4389-b03d-ec0c09908c01",
"active" : true,
"createdBy" : "eb1ef2d0-5f81-4b2f-b8b6-b7d0de1662aa",
"createdAt" : {
"nano" : 466292000,
"epochSecond" : 1764810956
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create User Identity Audience Mapping
POST /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
createaction on thisuser-identity-oidc-audience-mappingresource. -
create-identity-mappingaction on theuser-identityresource identified by theuserIdentityIdproperty. -
readaction on theoidc-audienceresource identified by theoidcAudienceIdproperty.
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" : "06271f41-2d16-496d-a1ae-c378d60507ad",
"oidcAudienceId" : "14ba5f7f-0258-4da1-907d-dd4936410c6f",
"subject" : "console-client-043e9fbb-aee1-487b-876d-7ec83fab445d",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "536d9377-1bbd-43cf-ba21-03e6c87698d0",
"userIdentityId" : "06271f41-2d16-496d-a1ae-c378d60507ad",
"oidcAudienceId" : "14ba5f7f-0258-4da1-907d-dd4936410c6f",
"subject" : "console-client-043e9fbb-aee1-487b-876d-7ec83fab445d",
"active" : true,
"createdBy" : "b6e735b1-1acb-461c-b5f6-f1cba104d7f0",
"createdAt" : {
"nano" : 414520000,
"epochSecond" : 1764810956
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update User Identity Audience Mapping
PATCH /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
updateaction on thisuser-identity-oidc-audience-mappingresource.
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/15fdb221-7e78-4bd5-a663-448e76058c2c' -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" : "15fdb221-7e78-4bd5-a663-448e76058c2c",
"userIdentityId" : "9831c5ff-7f21-41a7-828f-c836fb1754fa",
"oidcAudienceId" : "b7abc7db-723d-4958-a00a-5a6ea58e0345",
"subject" : "console-client-c4574250-7b6a-4bf7-9323-fa42b655bd1d",
"active" : false,
"createdBy" : "7566a5e0-cdf7-4001-bc66-05853fb3dda9",
"createdAt" : {
"nano" : 305565000,
"epochSecond" : 1764810956
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete User Identity Audience Mapping
DELETE /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
deleteaction on thisuser-identity-oidc-audience-mappingresource.
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/464ef2d4-c609-4c59-8087-6f99702fa050' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 549
{
"id" : "464ef2d4-c609-4c59-8087-6f99702fa050",
"userIdentityId" : "7323169e-fff8-46e1-99a6-91549c3e8282",
"oidcAudienceId" : "793ba94c-fd22-4f4f-9b3e-b20c46b3c5d7",
"subject" : "console-client-563d0554-7c86-4171-ae50-15014762f5a5",
"active" : true,
"createdBy" : "200c60b6-058c-42ba-afb4-3a2c1eb0bc19",
"createdAt" : {
"nano" : 529669000,
"epochSecond" : 1764810956
},
"deletedAt" : {
"nano" : 541019000,
"epochSecond" : 1764810956
},
"deletedBy" : "966c64db-8ab6-49ff-bf1b-2b61beb033ce",
"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
Link: <https://gateway.netFoundry.io/identity/v1/identity-providers?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/identity-providers?page=1>; rel="last"
Content-Type: application/json
Content-Length: 1146
[ {
"id" : "239e3946-ab4f-4c58-b146-8f2268cb5ea3",
"organizationId" : "940c259c-52c7-498f-8542-f3b0037b9fd7",
"auth0ConnectionId" : "auth0-opaque-connectionId-140",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 889338000,
"epochSecond" : 1764810938
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "2be9144e-ce12-4f59-86e8-3cef19cfcd30",
"organizationId" : "fe95fe5d-85a0-484f-820f-7aae8048d1c3",
"auth0ConnectionId" : "auth0-opaque-connectionId-85",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 463011000,
"epochSecond" : 1764810936
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "39e06c72-c0bf-472e-b4fc-74c786c74fb8",
"organizationId" : "de7c3439-ee41-445b-9b16-4dc24c9fa379",
"auth0ConnectionId" : "auth0-opaque-connectionId-65",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 648599000,
"epochSecond" : 1764810935
},
"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/d3a4742a-7df8-408e-a61f-e151a7590830' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 373
{
"id" : "d3a4742a-7df8-408e-a61f-e151a7590830",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 745178000,
"epochSecond" : 1764810886
},
"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" : "f34bea6d-ed13-430f-aee8-eabdf283b340",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "2534c9f1-8757-4d64-bdeb-c76278d17d66",
"organizationId" : "f34bea6d-ed13-430f-aee8-eabdf283b340",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 358071000,
"epochSecond" : 1764810941
},
"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/d385dcd0-6369-4a25-931a-c21425702236' -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" : "d385dcd0-6369-4a25-931a-c21425702236",
"organizationId" : "5856a940-69e8-4b83-a1de-ae9c96afffe5",
"auth0ConnectionId" : "auth0-opaque-connectionId-230",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 791086000,
"epochSecond" : 1764810941
},
"updatedAt" : {
"nano" : 809010000,
"epochSecond" : 1764810941
},
"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/59083801-6de5-45d0-bead-c220f7b8e7c9/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 380
{
"id" : "59083801-6de5-45d0-bead-c220f7b8e7c9",
"organizationId" : "c254d0d7-f613-45d4-a166-315661565ffc",
"auth0ConnectionId" : "auth0-opaque-connectionId-224",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 510760000,
"epochSecond" : 1764810941
},
"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/e9415107-2e37-4359-bc13-01120843d4d3' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "e9415107-2e37-4359-bc13-01120843d4d3",
"organizationId" : "ffba303d-1ce7-4be1-8cc7-8439a7e57015",
"auth0ConnectionId" : "auth0-opaque-connectionId-228",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 707348000,
"epochSecond" : 1764810941
},
"updatedAt" : {
"nano" : 723648000,
"epochSecond" : 1764810941
},
"deletedAt" : {
"nano" : 723000000,
"epochSecond" : 1764810941
}
}
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: 1404
[ {
"id" : "1603e1a6-9064-499d-9fee-fffdf2072d9e",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"name" : "Standard Role Admin - Network Group Admin of NF Support (NFSUP)",
"roleType" : "Standard",
"roleId" : "ddd39147-0ce2-473d-93c7-25b1b404433d",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 250984000,
"epochSecond" : 1764810882
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "1a396b65-3e49-445e-9103-ea7c53a84e43",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"name" : "Standard Role Admin - Network Group Admin of NF Support (NFSUP)",
"roleType" : "Standard",
"roleId" : "ddd39147-0ce2-473d-93c7-25b1b404433d",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 250984000,
"epochSecond" : 1764810882
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "2312271b-7833-40a0-9966-e451315d03ec",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "Standard Role - 0c381d45-071f-4e19-bc44-642184b49f20",
"roleType" : "Standard",
"roleId" : "0c381d45-071f-4e19-bc44-642184b49f20",
"createdBy" : "13d93522-9982-46a7-b0b7-beb5d45cd0d7",
"createdAt" : {
"nano" : 909893000,
"epochSecond" : 1764810886
},
"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/2312271b-7833-40a0-9966-e451315d03ec' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 458
{
"id" : "2312271b-7833-40a0-9966-e451315d03ec",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "Standard Role - 0c381d45-071f-4e19-bc44-642184b49f20",
"roleType" : "Standard",
"roleId" : "0c381d45-071f-4e19-bc44-642184b49f20",
"createdBy" : "13d93522-9982-46a7-b0b7-beb5d45cd0d7",
"createdAt" : {
"nano" : 909893000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Default Role
POST /default-roles
Authorization
This endpoint requires:
-
createaction on thisdefault-roleresource. -
updateaction on theorganizationresource identified by theorganizationproperty.
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" : "fe95fe5d-85a0-484f-820f-7aae8048d1c3",
"roleType" : "Standard",
"roleId" : "2af6ee0d-674c-4ccd-a842-eb4629429388"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "30665b6d-4eff-4f99-aba7-0bc6d61bda74",
"organizationId" : "fe95fe5d-85a0-484f-820f-7aae8048d1c3",
"name" : "Standard Role - 2af6ee0d-674c-4ccd-a842-eb4629429388",
"roleType" : "Standard",
"roleId" : "2af6ee0d-674c-4ccd-a842-eb4629429388",
"createdBy" : "b4e58c2c-6f4e-4aa0-bfaf-a7b886f635df",
"createdAt" : {
"nano" : 533834000,
"epochSecond" : 1764810936
},
"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/67934bd9-91e9-4f83-9dbe-ed85ecde62c5' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 547
{
"id" : "67934bd9-91e9-4f83-9dbe-ed85ecde62c5",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "Standard Role - 170e7c02-c015-43f4-8681-0383832bb645",
"roleType" : "Standard",
"roleId" : "170e7c02-c015-43f4-8681-0383832bb645",
"createdBy" : "e31f059e-cd72-465f-bf5a-dd2097df1206",
"createdAt" : {
"nano" : 123171000,
"epochSecond" : 1764810936
},
"deletedAt" : {
"nano" : 137000000,
"epochSecond" : 1764810936
},
"deletedBy" : "6123b174-1d26-42e3-9f84-619612d8aedb",
"deleted" : true
}
Grant Default Role
POST /default-roles/{id}/grant
Authorization
This endpoint requires:
-
readaction on thisdefault-roleresource. -
createaction on theinvitationresource identified by theorganizationproperty.
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/845f5993-b285-4cf4-afeb-9d652731768f/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "74a92888-036d-48d3-b2ce-af0a191bd45f", "7282d188-66ec-4410-8ef2-0da6f061ba85", "5e667295-bb61-4606-9377-2d0b084b6aa4" ],
"excludeIdentityIds" : [ "74a92888-036d-48d3-b2ce-af0a191bd45f", "7282d188-66ec-4410-8ef2-0da6f061ba85", "f71e8bf5-5d3f-4bbc-b32a-b41dbeed61b7" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"5e667295-bb61-4606-9377-2d0b084b6aa4" : 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 |
|---|---|---|---|
active |
Boolean |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
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" : "08120352-40d5-43af-91ae-5250c57198ba",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-360@acme.com",
"identityMappings" : [ {
"id" : "e0a3a3b8-6a0f-4499-b8ab-dae71c46f182",
"auth0UserId" : "auth0-opaque-userId-361",
"identityProviderId" : "d3a4742a-7df8-408e-a61f-e151a7590830",
"userIdentityId" : "08120352-40d5-43af-91ae-5250c57198ba"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 129111000,
"epochSecond" : 1764810955
},
"deletedAt" : null,
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "First Last",
"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 |
|---|---|---|---|
active |
Boolean |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/1b8c6481-d16e-480a-a4a0-45700d070cd6' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "1b8c6481-d16e-480a-a4a0-45700d070cd6",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "a6beef18-26a5-4696-af2a-a216b79921af",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "88b5ac06-ffbd-44bb-a12d-f9bb516e1bc3",
"userIdentityId" : "1b8c6481-d16e-480a-a4a0-45700d070cd6"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 979013000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "John Doe",
"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 |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Link: <https://gateway.netFoundry.io/identity/v1/user-identities?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/user-identities?page=4>; rel="last"
Content-Type: application/json
Content-Length: 2150
[ {
"id" : "1b8c6481-d16e-480a-a4a0-45700d070cd6",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "a6beef18-26a5-4696-af2a-a216b79921af",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "88b5ac06-ffbd-44bb-a12d-f9bb516e1bc3",
"userIdentityId" : "1b8c6481-d16e-480a-a4a0-45700d070cd6"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 979013000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "John Doe",
"type" : "UserIdentity"
}, {
"id" : "38b0ed39-e16c-4536-b978-29e95159da5c",
"organizationId" : "8b300eaa-1c31-4da2-ab51-42f97e737ad6",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-82@acme.com",
"identityMappings" : [ {
"id" : "a73afea7-a7b9-463e-b8f8-c0d0a55ea161",
"auth0UserId" : "auth0-opaque-userId-83",
"identityProviderId" : "88c91794-4758-45fd-8bf5-1e4025d6826c",
"userIdentityId" : "38b0ed39-e16c-4536-b978-29e95159da5c"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 280844000,
"epochSecond" : 1764810936
},
"deletedAt" : null,
"tenantId" : "8b300eaa-1c31-4da2-ab51-42f97e737ad6",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "5e667295-bb61-4606-9377-2d0b084b6aa4",
"organizationId" : "04ed0a5e-d9ea-4515-9261-1fe81128023a",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-57@acme.com",
"identityMappings" : [ {
"id" : "86815ef1-4c69-4f77-9763-b052c3ff1d9d",
"auth0UserId" : "auth0-opaque-userId-58",
"identityProviderId" : "df6de709-d7af-4d12-b4d3-84558b62fc36",
"userIdentityId" : "5e667295-bb61-4606-9377-2d0b084b6aa4"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 338109000,
"epochSecond" : 1764810935
},
"deletedAt" : null,
"tenantId" : "04ed0a5e-d9ea-4515-9261-1fe81128023a",
"name" : "First Last",
"type" : "UserIdentity"
} ]
Get User Identity
GET /user-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
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 |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/1b8c6481-d16e-480a-a4a0-45700d070cd6' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "1b8c6481-d16e-480a-a4a0-45700d070cd6",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "a6beef18-26a5-4696-af2a-a216b79921af",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "88b5ac06-ffbd-44bb-a12d-f9bb516e1bc3",
"userIdentityId" : "1b8c6481-d16e-480a-a4a0-45700d070cd6"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 979013000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "John Doe",
"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 |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/mapping/auth0-opaque-userId-5/88b5ac06-ffbd-44bb-a12d-f9bb516e1bc3' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "1b8c6481-d16e-480a-a4a0-45700d070cd6",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "a6beef18-26a5-4696-af2a-a216b79921af",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "88b5ac06-ffbd-44bb-a12d-f9bb516e1bc3",
"userIdentityId" : "1b8c6481-d16e-480a-a4a0-45700d070cd6"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 979013000,
"epochSecond" : 1764810886
},
"deletedAt" : null,
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "John Doe",
"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 |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 479
{
"id" : "f480f49e-d31b-4e1d-89f0-b797b032e747",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 803149000,
"epochSecond" : 1764810955
},
"deletedAt" : null,
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "Jane Doe",
"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 |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/5a73ee40-1307-44e6-af49-8b0b23a44df3' -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: 721
{
"id" : "5a73ee40-1307-44e6-af49-8b0b23a44df3",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "1ac5fd06-754a-4411-93e0-59b6ca13dfa3",
"auth0UserId" : "auth0-opaque-userId-365",
"identityProviderId" : "d3a4742a-7df8-408e-a61f-e151a7590830",
"userIdentityId" : "5a73ee40-1307-44e6-af49-8b0b23a44df3"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 303692000,
"epochSecond" : 1764810955
},
"deletedAt" : null,
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "Bobby White",
"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 |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/625b122e-cc86-4e5e-b54f-babbe8637efa/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 719
{
"id" : "625b122e-cc86-4e5e-b54f-babbe8637efa",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-366@acme.com",
"identityMappings" : [ {
"id" : "2ae1a518-c2dc-485d-bb4f-ab2a6e61277b",
"auth0UserId" : "auth0-opaque-userId-367",
"identityProviderId" : "d3a4742a-7df8-408e-a61f-e151a7590830",
"userIdentityId" : "625b122e-cc86-4e5e-b54f-babbe8637efa"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 378708000,
"epochSecond" : 1764810955
},
"deletedAt" : null,
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"name" : "First Last",
"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/dddd3454-98de-416a-a91d-75d66359eeee/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-mappingaction on thisuser-identityresource.
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/6818aa07-7c84-4d44-82c0-bb6dea7346ed/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:998d90e1-6574-4cd6-add1-e0246336161b",
"identityProviderId" : "88b5ac06-ffbd-44bb-a12d-f9bb516e1bc3"
}'
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
Link: <https://gateway.netFoundry.io/identity/v1/api-account-identities?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/api-account-identities?page=2>; rel="last"
Content-Type: application/json
Content-Length: 2053
[ {
"id" : "04cb4b9e-0a64-4d8d-87f3-a1c991e807c2",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ClientId" : null,
"awsCognitoClientId" : "5c2b42be-77d7-48b3-90b3-0167983915bc|lgxvnagt",
"authenticationUrl" : "https://netfoundry-test-uuapmf.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 995140000,
"epochSecond" : 1764810895
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"type" : "ApiAccountIdentity"
}, {
"id" : "17805203-2593-4976-bae3-deed45b5e930",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ClientId" : "038f6e43-6c57-4f77-a8b5-d7ae7630137b",
"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" : 8000,
"epochSecond" : 1764810887
},
"updatedAt" : {
"nano" : 169996000,
"epochSecond" : 1764810889
},
"deletedAt" : null,
"email" : "no-reply@acme.com",
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"type" : "ApiAccountIdentity"
}, {
"id" : "20557343-f1b2-4a24-a42c-551e1465bfa6",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ClientId" : null,
"awsCognitoClientId" : "4fa54a19-e01a-4f9d-ad05-5ab179d81af9|dmjcqgqo",
"authenticationUrl" : "https://netfoundry-test-rddxbu.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 257706000,
"epochSecond" : 1764810898
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"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/17805203-2593-4976-bae3-deed45b5e930' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 713
{
"id" : "17805203-2593-4976-bae3-deed45b5e930",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ClientId" : "038f6e43-6c57-4f77-a8b5-d7ae7630137b",
"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" : 8000,
"epochSecond" : 1764810887
},
"updatedAt" : {
"nano" : 169996000,
"epochSecond" : 1764810889
},
"deletedAt" : null,
"email" : "no-reply@acme.com",
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"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/676c1891-b991-4681-b2bf-1f38cbaa653e' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 682
{
"id" : "68a6784b-0db2-440e-aefa-3dd91756d287",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ClientId" : "676c1891-b991-4681-b2bf-1f38cbaa653e",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-31",
"contactEmail" : "service.admin-32@foo.com",
"description" : "updatable API Account description-33",
"active" : true,
"createdAt" : {
"nano" : 425215000,
"epochSecond" : 1764810927
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-32@foo.com",
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"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" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"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" : "8561492d-48f0-495f-82c5-49bbb8ac9f71",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ClientId" : null,
"awsCognitoClientId" : "79ce00d6-840e-48c5-89d2-a525f4b5d1f3|lmiydltq",
"authenticationUrl" : "https://netfoundry-test-hsnkmx.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" : 308944000,
"epochSecond" : 1764810893
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"type" : "ApiAccountIdentity"
},
"clientId" : "lmiydltq",
"password" : "rdtuilvmvxpcnxirgvwqxasx",
"authenticationUrl" : "https://netfoundry-test-hsnkmx.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/9fd45610-257c-456e-a5b9-1d8e1ab07fc0' -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: 679
{
"id" : "9fd45610-257c-456e-a5b9-1d8e1ab07fc0",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ClientId" : "ce04a753-82f8-454a-995a-a35af371b2d3",
"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" : 25456000,
"epochSecond" : 1764810887
},
"updatedAt" : {
"nano" : 930335000,
"epochSecond" : 1764810887
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"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/1c4eb6e1-41ad-4791-ae10-4112598444f8/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 739
{
"id" : "1c4eb6e1-41ad-4791-ae10-4112598444f8",
"organizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"auth0ClientId" : "06a30f45-c4d9-460b-b419-6701b4627ccb",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-25",
"contactEmail" : "service.admin-26@foo.com",
"description" : "updatable API Account description-27",
"active" : false,
"createdAt" : {
"nano" : 209499000,
"epochSecond" : 1764810927
},
"updatedAt" : {
"nano" : 243800000,
"epochSecond" : 1764810927
},
"deletedAt" : null,
"email" : "service.admin-26@foo.com",
"tenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
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: 564
[ {
"id" : "5c8dccdf-eab2-4d41-9d48-39226052f77c",
"fromIdentityId" : "04022973-4944-4a91-9651-6027d7aaf8d1",
"toOrganizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "netfoundry.io",
"expiration" : {
"nano" : 63882000,
"epochSecond" : 1765415742
},
"targetUserIdentityId" : "0106f6f0-bf4f-4c33-a8a0-bc02fe8ce054",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"state" : "Open"
} ]
Get Invitation By Id
GET /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/d05b8653-a141-4102-8aeb-370071023459' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 564
{
"id" : "d05b8653-a141-4102-8aeb-370071023459",
"fromIdentityId" : "1b8c6481-d16e-480a-a4a0-45700d070cd6",
"toOrganizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"invitedEmailAddress" : "new.employee-240@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 521194000,
"epochSecond" : 1765415742
},
"targetUserIdentityId" : "12cd37aa-93cb-4a20-ab86-7355e13d99eb",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"state" : "Open"
}
Create Invitation
POST /invitations
Authorization
This endpoint requires:
-
createaction on thisinvitationresource. -
readaction on theuser-identityresource identified by thetargetUserIdentityIdproperty.
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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"toOrganizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.console.netfoundry.io/invitation",
"targetUserIdentityId" : "0106f6f0-bf4f-4c33-a8a0-bc02fe8ce054"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 560
{
"id" : "5c8dccdf-eab2-4d41-9d48-39226052f77c",
"fromIdentityId" : "04022973-4944-4a91-9651-6027d7aaf8d1",
"toOrganizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "netfoundry.io",
"expiration" : {
"nano" : 63882000,
"epochSecond" : 1765415742
},
"targetUserIdentityId" : "0106f6f0-bf4f-4c33-a8a0-bc02fe8ce054",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"state" : "Open"
}
Respond To Invitation
PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/{action:accept|decline}
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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/1c864c23-e1dd-44a4-8c63-1b66e35e3572/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 625
{
"id" : "1c864c23-e1dd-44a4-8c63-1b66e35e3572",
"fromIdentityId" : "1b8c6481-d16e-480a-a4a0-45700d070cd6",
"toOrganizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"invitedEmailAddress" : "new.employee-237@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 445973000,
"epochSecond" : 1765415742
},
"targetUserIdentityId" : "6086eba4-f45c-456b-ba67-f04c5339ec73",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 458024000,
"epochSecond" : 1764810942
},
"toTenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"state" : "Declined"
}
Revoke Invitation
PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/revoke
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 |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/2f1a905b-3a5c-4ff4-98c9-a43d402704f1/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 679
{
"id" : "2f1a905b-3a5c-4ff4-98c9-a43d402704f1",
"fromIdentityId" : "1b8c6481-d16e-480a-a4a0-45700d070cd6",
"toOrganizationId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"invitedEmailAddress" : "new.employee-243@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 605621000,
"epochSecond" : 1765415742
},
"targetUserIdentityId" : "ad17751f-9e66-4fd5-962f-b1ff3bc89148",
"accepted" : null,
"revokedAt" : {
"nano" : 620448000,
"epochSecond" : 1764810942
},
"responseReceivedAt" : {
"nano" : 620452000,
"epochSecond" : 1764810942
},
"toTenantId" : "2e7155bf-fc1a-49f2-9689-c4188b6d2567",
"state" : "Revoked"
}
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/BvkJRfE8HJdkjDXrHlk6mwAfd1astcpg4N17' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 518
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-250@acme.com"
},
"invitedEmailAddress" : "new.employee-252@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-2",
"expiration" : {
"nano" : 41241000,
"epochSecond" : 1765415743
},
"accepted" : null,
"state" : "Open",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-2"
}
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/fQPxdmU3gqQMVwTsvvjTzrZX1yA8253NK3Nm/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-247@acme.com"
},
"invitedEmailAddress" : "new.employee-249@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-2",
"expiration" : {
"nano" : 924485000,
"epochSecond" : 1765415742
},
"accepted" : false,
"state" : "Declined",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-2"
}
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/QxcQZYRlZwNlxK1GOnuexq5ymBCE2Lr5y5Wq/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.eyJpYXQiOjE3NjQ4MTA5NDIsImV4cCI6MTc2NDgxMTg0MiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJpbnZpdGF0aW9uIiwiaW52aXRhdGlvbklkIjoiYWVhMjUxNTctN2RjMy00NDRhLWFiYzktMTVjYjI4YjdlZjA5IiwidGVuYW50TGFiZWwiOiJBQ01FLTIiLCJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC00IiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0zIl0sInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24ifQ.MGv4FHbobvlGDkq1GAq2x4nnhCsdIPUcgVXBEPon4FLauZk5-SosUWScB5FREKKic1ezAmkqLzlUgkLGOVqrCR52fpZsDFu9QXSRpvsTjMVje7lxfdTVaI4wdH-q8EnQbEiUOAOD8wWi6gj5jAumOXzKlFKwVXaOA6QtpPBeQ5MhxjPSWgZcqM5VBNTidXAbYceL9F9Lav4Ej0UA0s8DobHEiZsz6Dn2jJUpgqAwsZtdDdU4Zz-lxwZ55Gm6Fr23j9d7wXFK2cqN5F6_spsGoXeoevi-mUqIqFc558OQntuH26c_jq9U0NdYTQz0NaaUwMrpSxpRlQm0PnXSdE15Lw",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-4", "auth0-opaque-connectionId-3" ]
}
Login Flow
Initiate Interactive Authorization
POST /organizations/authorize-initiate
Authorization
Authorization not required for this request.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
realmLabel |
String |
true |
|
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 '{
"realmLabel" : "netfoundry",
"label" : "ACME-2",
"intermediateReturnUrl" : "http://console.nfadmin.netfoundry.io/invitation"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 902
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjQ4MTA5NDMsImV4cCI6MTc2NDgxMTg0MywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0yIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtNCIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMyJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.QLssQ1ca8C6zuzXvJdOWkp1S63CV84roAVlJBlDRV0KSMTuoNrxr5ADrF2QYuQPHZU_AxRndMQVFWR5mcjtFciV8uHlQnBlnrglfKe-HdcNMSPz1GtaiFN4YYBFnmkBhgFFiu07TVKyu0_nJ45PcGcKHNmGfPbbo-GeDCckABRpKxOrhYCDY_PMzyQSoUIEE7TVaJ5z6F8X0scYLdt6gl_E68Z_VAgu_aNfLrSfMWBAFXqSgCAFUO4b0efOkFPz0h-Yygs8vXGWlEzrhSImv0q94PjfviDikqX08hJ9jYKBm9zfR_Xw8hUyjwBvdRuIKyn606sxqWXq_cE3lneQq8A",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-4", "auth0-opaque-connectionId-3" ]
}
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: 1281
[ {
"id" : "15447a5f-e3cf-4ea5-9528-6e3bb7fb88c8",
"userIdentityId" : "bace9177-2acd-4e86-abd1-05a31611a8e7",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "bace9177-2acd-4e86-abd1-05a31611a8e7",
"createdAt" : {
"nano" : 892002000,
"epochSecond" : 1764810937
},
"updatedAt" : {
"nano" : 892002000,
"epochSecond" : 1764810937
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "505b073d-f439-4820-a562-d69d9e8484ad",
"userIdentityId" : "e8e33c37-7913-4404-b086-d43a5a237c3c",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "e8e33c37-7913-4404-b086-d43a5a237c3c",
"createdAt" : {
"nano" : 976098000,
"epochSecond" : 1764810937
},
"updatedAt" : {
"nano" : 976098000,
"epochSecond" : 1764810937
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "60c86025-037c-42dc-bc8e-54a5ff893c4d",
"userIdentityId" : "e7b8dd9c-7dc0-4879-9356-7ee3415caabb",
"preferences" : {
"hello" : "world"
},
"createdBy" : "e7b8dd9c-7dc0-4879-9356-7ee3415caabb",
"createdAt" : {
"nano" : 94702000,
"epochSecond" : 1764810938
},
"updatedAt" : {
"nano" : 94702000,
"epochSecond" : 1764810938
},
"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/0fa6d140-29ec-4b91-8f9d-243a468b3e80' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "0fa6d140-29ec-4b91-8f9d-243a468b3e80",
"userIdentityId" : "ca559ec3-0ebe-4c99-9ee7-d4029c16172f",
"preferences" : {
"hello" : "world"
},
"createdBy" : "ca559ec3-0ebe-4c99-9ee7-d4029c16172f",
"createdAt" : {
"nano" : 636953000,
"epochSecond" : 1764810939
},
"updatedAt" : {
"nano" : 636953000,
"epochSecond" : 1764810939
},
"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" : "a5250ab8-6dca-472f-a178-34e347984ba6",
"userIdentityId" : "2405a813-0930-4b68-97cb-3a8a992c5a68",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "2405a813-0930-4b68-97cb-3a8a992c5a68",
"createdAt" : {
"nano" : 536334000,
"epochSecond" : 1764810938
},
"updatedAt" : {
"nano" : 536334000,
"epochSecond" : 1764810938
},
"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:
-
createaction on thisidentity-preferenceresource. -
updateaction on thisidentity-preferenceresource.
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/b586ba48-05a0-4973-a090-da154f8a9dd8' -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" : "b586ba48-05a0-4973-a090-da154f8a9dd8",
"userIdentityId" : "98471d4e-b20d-4daf-99bb-b4c3e52c60a2",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "98471d4e-b20d-4daf-99bb-b4c3e52c60a2",
"createdAt" : {
"nano" : 679845000,
"epochSecond" : 1764810940
},
"updatedAt" : {
"nano" : 692149000,
"epochSecond" : 1764810940
},
"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/543a6d43-7aef-4d0e-86a2-4cf41cd1e115' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 501
{
"id" : "543a6d43-7aef-4d0e-86a2-4cf41cd1e115",
"userIdentityId" : "db56f009-20f7-4125-a0c8-67fff4e18dba",
"preferences" : {
"hello" : "world"
},
"createdBy" : "db56f009-20f7-4125-a0c8-67fff4e18dba",
"createdAt" : {
"nano" : 984973000,
"epochSecond" : 1764810938
},
"updatedAt" : {
"nano" : 7629000,
"epochSecond" : 1764810939
},
"deletedBy" : "70d977ba-6ea5-4e1d-85a1-c03f79c6bfaa",
"deletedAt" : {
"nano" : 7000000,
"epochSecond" : 1764810939
}
}
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" : "058ff2e2-5a7e-4c68-bd7f-47540f0f62ca",
"organizationId" : "2a807eee-90aa-428f-b683-f72f5fdf2597",
"preferences" : {
"hello" : "world"
},
"createdBy" : "3b61fa97-f7a6-4aff-bc1e-703024e93013",
"createdAt" : {
"nano" : 808007000,
"epochSecond" : 1764810948
},
"updatedAt" : {
"nano" : 808007000,
"epochSecond" : 1764810948
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "1e3668f2-3d67-456b-8ce9-f6b5352832a6",
"organizationId" : "fb7585a3-59f3-4700-920d-0a6e9bb934f9",
"preferences" : {
"hello" : "world"
},
"createdBy" : "2e630c64-6e93-4f29-a41b-8bb3d7a95995",
"createdAt" : {
"nano" : 628353000,
"epochSecond" : 1764810948
},
"updatedAt" : {
"nano" : 628353000,
"epochSecond" : 1764810948
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "f0e20161-d7aa-4b7a-a80c-cff9d29b502a",
"organizationId" : "8715c888-663d-4f8f-a981-9b625e6811a4",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "8b6d79df-7898-4e56-a0aa-e68b10b4df3f",
"createdAt" : {
"nano" : 705634000,
"epochSecond" : 1764810948
},
"updatedAt" : {
"nano" : 705634000,
"epochSecond" : 1764810948
},
"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/058ff2e2-5a7e-4c68-bd7f-47540f0f62ca' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "058ff2e2-5a7e-4c68-bd7f-47540f0f62ca",
"organizationId" : "2a807eee-90aa-428f-b683-f72f5fdf2597",
"preferences" : {
"hello" : "world"
},
"createdBy" : "3b61fa97-f7a6-4aff-bc1e-703024e93013",
"createdAt" : {
"nano" : 808007000,
"epochSecond" : 1764810948
},
"updatedAt" : {
"nano" : 808007000,
"epochSecond" : 1764810948
},
"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" : "8715c888-663d-4f8f-a981-9b625e6811a4",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "f0e20161-d7aa-4b7a-a80c-cff9d29b502a",
"organizationId" : "8715c888-663d-4f8f-a981-9b625e6811a4",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "8b6d79df-7898-4e56-a0aa-e68b10b4df3f",
"createdAt" : {
"nano" : 705634000,
"epochSecond" : 1764810948
},
"updatedAt" : {
"nano" : 705634000,
"epochSecond" : 1764810948
},
"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/ee19b7af-68d3-45bc-b327-e647a80209cc' -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" : "ee19b7af-68d3-45bc-b327-e647a80209cc",
"organizationId" : "e355a65b-c941-43bb-ad8e-1e74f493744e",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "5aa4f4ad-ec80-44e7-9e2a-4a2b71a0c545",
"createdAt" : {
"nano" : 968898000,
"epochSecond" : 1764810948
},
"updatedAt" : {
"nano" : 985043000,
"epochSecond" : 1764810948
},
"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/404a09c9-5340-4edc-9f8b-00392f31327b' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "404a09c9-5340-4edc-9f8b-00392f31327b",
"organizationId" : "1a3f7bb1-db2a-4763-9663-753f14cbdee3",
"preferences" : {
"hello" : "world"
},
"createdBy" : "dfd5cb72-c77b-46ec-a008-ad4c565d0348",
"createdAt" : {
"nano" : 750959000,
"epochSecond" : 1764810948
},
"updatedAt" : {
"nano" : 761909000,
"epochSecond" : 1764810948
},
"deletedBy" : "fb34b03f-8365-4a15-8a1b-9cc23f9a8449",
"deletedAt" : {
"nano" : 761000000,
"epochSecond" : 1764810948
}
}