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: 2568
[ {
"id" : "1cc5e4dc-8b77-474a-b969-f9c4b34dc58c",
"realmId" : "c9a2e4ea-60cf-42e7-95f1-427ab97b04a8",
"name" : "World Wide Imports",
"label" : "WW-Imports-66",
"identityProviders" : [ {
"id" : "c12f2068-698e-4f07-bd97-320605903c94",
"organizationId" : "1cc5e4dc-8b77-474a-b969-f9c4b34dc58c",
"auth0ConnectionId" : "auth0-opaque-connectionId-67",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 830372000,
"epochSecond" : 1765209837
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "ccfc8612-afc1-4954-99b8-f023042c4a78",
"organizationId" : "1cc5e4dc-8b77-474a-b969-f9c4b34dc58c",
"name" : "Custom Role - 3b269127-02a7-4747-bacd-9975b099acc8",
"roleType" : "Custom",
"roleId" : "3b269127-02a7-4747-bacd-9975b099acc8",
"createdBy" : "0b48a372-5b2e-4349-8a86-2715d1173997",
"createdAt" : {
"nano" : 854783000,
"epochSecond" : 1765209837
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 827965000,
"epochSecond" : 1765209837
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "2a22bf36-9a15-4a5a-9ecd-703d3217f751",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "Admin",
"label" : "admin",
"identityProviders" : [ ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 388613000,
"epochSecond" : 1765209788
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "35623880-efd1-4376-abcb-1e8764ebd6bc",
"realmId" : "c9a2e4ea-60cf-42e7-95f1-427ab97b04a8",
"name" : "World Wide Imports",
"label" : "WW-Imports-118",
"identityProviders" : [ {
"id" : "935e1024-b5c0-499b-a6a4-807311abb41e",
"organizationId" : "35623880-efd1-4376-abcb-1e8764ebd6bc",
"auth0ConnectionId" : "auth0-opaque-connectionId-119",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 301339000,
"epochSecond" : 1765209840
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 299501000,
"epochSecond" : 1765209840
},
"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" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "c064667d-4fe9-4af2-bba4-6db66ce12015",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 420900000,
"epochSecond" : 1765209788
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "a3ac2c9e-4f28-4a1e-b48f-b150050ced42",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 411930000,
"epochSecond" : 1765209788
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "4814daa5-2c5c-4b1b-bed5-25ab68916c26",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"name" : "Standard Role - 35943a33-61ea-40b0-9d7a-6e7462b1d2da",
"roleType" : "Standard",
"roleId" : "35943a33-61ea-40b0-9d7a-6e7462b1d2da",
"createdBy" : "447b9d8e-34ee-4e84-af44-3a1d76a4345b",
"createdAt" : {
"nano" : 533806000,
"epochSecond" : 1765209788
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "ba03e2bc-f581-4c5a-8aba-9f90749f909c",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"name" : "Custom Role - 1a8a9209-20cf-440e-9158-6fb639c49839",
"roleType" : "Custom",
"roleId" : "1a8a9209-20cf-440e-9158-6fb639c49839",
"createdBy" : "81a6f440-11fa-4c1c-a15f-98a64f592787",
"createdAt" : {
"nano" : 544012000,
"epochSecond" : 1765209788
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 408903000,
"epochSecond" : 1765209788
},
"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/ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2220
{
"id" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "c064667d-4fe9-4af2-bba4-6db66ce12015",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 420900000,
"epochSecond" : 1765209788
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "a3ac2c9e-4f28-4a1e-b48f-b150050ced42",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 411930000,
"epochSecond" : 1765209788
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "4814daa5-2c5c-4b1b-bed5-25ab68916c26",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"name" : "Standard Role - 35943a33-61ea-40b0-9d7a-6e7462b1d2da",
"roleType" : "Standard",
"roleId" : "35943a33-61ea-40b0-9d7a-6e7462b1d2da",
"createdBy" : "447b9d8e-34ee-4e84-af44-3a1d76a4345b",
"createdAt" : {
"nano" : 533806000,
"epochSecond" : 1765209788
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "ba03e2bc-f581-4c5a-8aba-9f90749f909c",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"name" : "Custom Role - 1a8a9209-20cf-440e-9158-6fb639c49839",
"roleType" : "Custom",
"roleId" : "1a8a9209-20cf-440e-9158-6fb639c49839",
"createdBy" : "81a6f440-11fa-4c1c-a15f-98a64f592787",
"createdAt" : {
"nano" : 544012000,
"epochSecond" : 1765209788
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 408903000,
"epochSecond" : 1765209788
},
"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" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"active" : true,
"identityProviders" : [ {
"id" : "c064667d-4fe9-4af2-bba4-6db66ce12015",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 420900000,
"epochSecond" : 1765209788
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "a3ac2c9e-4f28-4a1e-b48f-b150050ced42",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 411930000,
"epochSecond" : 1765209788
},
"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" : "9d4fa2ab-3aef-4957-ad20-500af02db590",
"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" : "391249cf-ff2c-48f3-8789-6b0075c6c74f",
"realmId" : "9d4fa2ab-3aef-4957-ad20-500af02db590",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "b3357c32-4a32-4b26-986a-986338babaeb",
"organizationId" : "391249cf-ff2c-48f3-8789-6b0075c6c74f",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 446117000,
"epochSecond" : 1765209847
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 444963000,
"epochSecond" : 1765209847
},
"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/f46c960c-b5f4-4ba6-87fd-d3f17466d874/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 893
{
"id" : "f46c960c-b5f4-4ba6-87fd-d3f17466d874",
"realmId" : "c9a2e4ea-60cf-42e7-95f1-427ab97b04a8",
"name" : "World Wide Imports",
"label" : "WW-Imports-279",
"identityProviders" : [ {
"id" : "65e21343-e9af-415e-9d17-caaf2ed8a106",
"organizationId" : "f46c960c-b5f4-4ba6-87fd-d3f17466d874",
"auth0ConnectionId" : "auth0-opaque-connectionId-280",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 291953000,
"epochSecond" : 1765209848
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 290443000,
"epochSecond" : 1765209848
},
"updatedAt" : {
"nano" : 305406000,
"epochSecond" : 1765209848
},
"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/ac495f99-f09b-4c8d-9524-81eb19c98321/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: 1230
{
"id" : "ac495f99-f09b-4c8d-9524-81eb19c98321",
"realmId" : "c9a2e4ea-60cf-42e7-95f1-427ab97b04a8",
"name" : "World Wide Imports",
"label" : "WW-Imports-275",
"identityProviders" : [ {
"id" : "fe3ed387-6d3f-4de2-a33d-ce2998b7212f",
"organizationId" : "ac495f99-f09b-4c8d-9524-81eb19c98321",
"auth0ConnectionId" : "auth0-opaque-connectionId-276",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 84807000,
"epochSecond" : 1765209848
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "53ea64b8-5280-4d8e-8063-8500ea0f195d",
"organizationId" : "ac495f99-f09b-4c8d-9524-81eb19c98321",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 108152000,
"epochSecond" : 1765209848
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 83124000,
"epochSecond" : 1765209848
},
"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: 1219
[ {
"id" : "056faf7e-f775-43d9-b788-37e14a86d0b2",
"issuer" : "https://af0885f8-5f38-42b4-9935-86d8d5d42416.issuer.idp",
"jwksUri" : "https://af0885f8-5f38-42b4-9935-86d8d5d42416.issuer.idp/jwks",
"active" : true,
"createdBy" : "86fc8e08-515d-40be-aa9d-fe165a9769f0",
"createdAt" : {
"nano" : 956399000,
"epochSecond" : 1765209844
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "6c72dba0-a155-4804-9a70-89da12149793",
"issuer" : "https://accounts.google.com",
"jwksUri" : "https://www.googleapis.com/oauth2/v3/certs",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 873647000,
"epochSecond" : 1765209783
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "88463652-5276-49ae-842f-b1b53f347ee3",
"issuer" : "https://547c503c-54dc-428e-8b30-bfcfa2c4a7ae.issuer.idp",
"jwksUri" : "https://547c503c-54dc-428e-8b30-bfcfa2c4a7ae.issuer.idp/jwks",
"active" : true,
"createdBy" : "cd963554-8fcf-49d9-8051-4d88722e34d1",
"createdAt" : {
"nano" : 550099000,
"epochSecond" : 1765209845
},
"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/85762e49-762f-4f0b-abe8-5fc79971f403' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "85762e49-762f-4f0b-abe8-5fc79971f403",
"issuer" : "https://316fab2e-b5a0-4fb4-83e5-fa7ed0cb15ed.issuer.idp",
"jwksUri" : "https://316fab2e-b5a0-4fb4-83e5-fa7ed0cb15ed.issuer.idp/jwks",
"active" : true,
"createdBy" : "39c1cdb0-3b28-4105-8176-211d6f58029a",
"createdAt" : {
"nano" : 135700000,
"epochSecond" : 1765209846
},
"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://1baa61a1-0082-44e2-b972-96ce95570fd5.issuer.idp",
"jwksUri" : "https://1baa61a1-0082-44e2-b972-96ce95570fd5.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 418
{
"id" : "ed3d782c-0571-4837-b09d-95ee87cb18d4",
"issuer" : "https://1baa61a1-0082-44e2-b972-96ce95570fd5.issuer.idp",
"jwksUri" : "https://1baa61a1-0082-44e2-b972-96ce95570fd5.issuer.idp/jwks",
"active" : true,
"createdBy" : "f689f337-f3a9-40a3-aaa7-428da37dcb2c",
"createdAt" : {
"nano" : 85122000,
"epochSecond" : 1765209846
},
"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/46aa35ea-57fb-4047-aa96-e0a09571c864' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://ff24d672-a9e8-4aee-87f2-0808eac6bf58.issuer.idp",
"jwksUri" : "https://ff24d672-a9e8-4aee-87f2-0808eac6bf58.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "46aa35ea-57fb-4047-aa96-e0a09571c864",
"issuer" : "https://ff24d672-a9e8-4aee-87f2-0808eac6bf58.issuer.idp",
"jwksUri" : "https://ff24d672-a9e8-4aee-87f2-0808eac6bf58.issuer.idp/jwks",
"active" : false,
"createdBy" : "fadd571f-f707-4e6e-889a-9487526fd099",
"createdAt" : {
"nano" : 984942000,
"epochSecond" : 1765209845
},
"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/7970360e-1f6b-4216-be93-41d7ca809acc' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "7970360e-1f6b-4216-be93-41d7ca809acc",
"issuer" : "https://bbab7be6-952a-40fc-9689-fe9191145f08.issuer.idp",
"jwksUri" : "https://bbab7be6-952a-40fc-9689-fe9191145f08.issuer.idp/jwks",
"active" : true,
"createdBy" : "db775b36-0019-4611-84d5-a0fbfd1f517e",
"createdAt" : {
"nano" : 195966000,
"epochSecond" : 1765209846
},
"deletedAt" : {
"nano" : 206853000,
"epochSecond" : 1765209846
},
"deletedBy" : "09a128e6-114c-464e-9986-45917dd63235",
"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" : "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" : 878060000,
"epochSecond" : 1765209783
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "534cfb28-91a5-447b-9798-7223946df4b2",
"oidcIssuerId" : "74b6aa4a-13a0-4a8e-9af6-b6bfe159381d",
"clientId" : "clientId-432178fb-7a63-43db-b087-5e112559303a",
"clientSecret" : "clientSecret-0cc448c1-4ced-4a74-adc4-19538e60a872",
"authorizationEndpoint" : "https://c5670369-51e8-42c1-b723-c3a444ef5c30.issuer.idp/authorize",
"tokenEndpoint" : "https://c5670369-51e8-42c1-b723-c3a444ef5c30.issuer.idp/token",
"userInfoEndpoint" : "https://c5670369-51e8-42c1-b723-c3a444ef5c30.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "ff0c9547-6b49-4a0a-b9ec-59a138f9d798",
"createdAt" : {
"nano" : 306377000,
"epochSecond" : 1765209846
},
"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" : 878060000,
"epochSecond" : 1765209783
},
"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/4f310c4f-0bea-42b3-bff6-77a138af5418' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 775
{
"id" : "4f310c4f-0bea-42b3-bff6-77a138af5418",
"oidcIssuerId" : "4c7c88c7-4926-40c9-8f2f-9dc21092c214",
"clientId" : "clientId-3e1abe9d-b1f1-4ee8-b29b-c0c32f586925",
"clientSecret" : "clientSecret-66a713db-a775-4776-b078-b6cc3c6ac5c8",
"authorizationEndpoint" : "https://aa5956a7-efd1-47b5-b3fc-e204121dbf5c.issuer.idp/authorize",
"tokenEndpoint" : "https://aa5956a7-efd1-47b5-b3fc-e204121dbf5c.issuer.idp/token",
"userInfoEndpoint" : "https://aa5956a7-efd1-47b5-b3fc-e204121dbf5c.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "e47b2147-8d5c-4076-abfb-92b7b6453839",
"createdAt" : {
"nano" : 47606000,
"epochSecond" : 1765209847
},
"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" : "bb6d45f5-3ed9-4d5a-9c83-c61a72f41767",
"clientId" : "clientId-558e26d5-b894-47e4-b802-b38f408ae496",
"clientSecret" : "clientSecret-f9e88242-9b06-4c2c-8acd-61ace217cca5",
"authorizationEndpoint" : "https://89cc80be-2050-4d58-b788-b14ce630877b.issuer.idp/authorize",
"tokenEndpoint" : "https://89cc80be-2050-4d58-b788-b14ce630877b.issuer.idp/token",
"userInfoEndpoint" : "https://89cc80be-2050-4d58-b788-b14ce630877b.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "222ae56c-516c-4f2d-a487-92be3776a2d4",
"oidcIssuerId" : "bb6d45f5-3ed9-4d5a-9c83-c61a72f41767",
"clientId" : "clientId-558e26d5-b894-47e4-b802-b38f408ae496",
"clientSecret" : "clientSecret-f9e88242-9b06-4c2c-8acd-61ace217cca5",
"authorizationEndpoint" : "https://89cc80be-2050-4d58-b788-b14ce630877b.issuer.idp/authorize",
"tokenEndpoint" : "https://89cc80be-2050-4d58-b788-b14ce630877b.issuer.idp/token",
"userInfoEndpoint" : "https://89cc80be-2050-4d58-b788-b14ce630877b.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "d585421e-4950-417a-86f7-67d8971227ac",
"createdAt" : {
"nano" : 986053000,
"epochSecond" : 1765209846
},
"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/ed592571-61fa-43e5-bc60-9d159cedb6e2' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-dffc948d-7bce-4628-a5be-9a14b20b1089",
"clientSecret" : "clientSecret-7cde1760-725c-4626-8dd9-94f90b8ac0a5",
"authorizationEndpoint" : "https://29fec212-68a8-4ee8-aeb7-2ee393e0ce59.issuer.idp/authorize",
"tokenEndpoint" : "https://29fec212-68a8-4ee8-aeb7-2ee393e0ce59.issuer.idp/token",
"userInfoEndpoint" : "https://29fec212-68a8-4ee8-aeb7-2ee393e0ce59.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 777
{
"id" : "ed592571-61fa-43e5-bc60-9d159cedb6e2",
"oidcIssuerId" : "467a3291-53c7-4173-b126-02781ecb1332",
"clientId" : "clientId-dffc948d-7bce-4628-a5be-9a14b20b1089",
"clientSecret" : "clientSecret-7cde1760-725c-4626-8dd9-94f90b8ac0a5",
"authorizationEndpoint" : "https://29fec212-68a8-4ee8-aeb7-2ee393e0ce59.issuer.idp/authorize",
"tokenEndpoint" : "https://29fec212-68a8-4ee8-aeb7-2ee393e0ce59.issuer.idp/token",
"userInfoEndpoint" : "https://29fec212-68a8-4ee8-aeb7-2ee393e0ce59.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "ffbe4116-3e1a-4a4e-b3f1-ee948c9e3c02",
"createdAt" : {
"nano" : 886204000,
"epochSecond" : 1765209846
},
"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/4da34322-e269-46f7-bb7b-c12ebbd297e4' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 865
{
"id" : "4da34322-e269-46f7-bb7b-c12ebbd297e4",
"oidcIssuerId" : "bf3efa1e-31a9-433c-ba59-b16853747351",
"clientId" : "clientId-4c5cc50f-44ac-478c-a5e2-6b68e49c63c9",
"clientSecret" : "clientSecret-1b2c0ffd-508a-477a-a0e0-96fd97cd8d21",
"authorizationEndpoint" : "https://0f686bfe-888c-49df-bc21-0a772a7233f3.issuer.idp/authorize",
"tokenEndpoint" : "https://0f686bfe-888c-49df-bc21-0a772a7233f3.issuer.idp/token",
"userInfoEndpoint" : "https://0f686bfe-888c-49df-bc21-0a772a7233f3.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "a8e70f5a-dc8e-4c3e-bb92-06c9cd7245cf",
"createdAt" : {
"nano" : 126289000,
"epochSecond" : 1765209847
},
"deletedAt" : {
"nano" : 137661000,
"epochSecond" : 1765209847
},
"deletedBy" : "3748f70c-39d1-43df-a73e-8f8faf41874b",
"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: 1501
[ {
"id" : "0090c698-daaf-4772-af14-d7e6bee2c87f",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"oidcPublicClientId" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"name" : "ACME Federated Active Directory",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "738f15b7-b7d1-4c1c-9418-60ebbfdb1e98",
"createdAt" : {
"nano" : 505394000,
"epochSecond" : 1765209788
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "1e02c80d-30b9-4372-9196-03ff28aa0049",
"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" : 449158000,
"epochSecond" : 1765209783
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "7bcd7958-343d-4333-a73b-9dd917378868",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "Google-Account",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "55392b4a-0548-4c03-8fb1-4a5733ff90b5",
"createdAt" : {
"nano" : 528074000,
"epochSecond" : 1765209788
},
"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/c146f40c-f9b9-4910-930a-e1b705b83dad' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 495
{
"id" : "c146f40c-f9b9-4910-930a-e1b705b83dad",
"organizationId" : "9f96e01e-4644-4f9b-a6a8-3a3420e84c76",
"oidcPublicClientId" : "8141e22d-36ae-4226-98f1-7bbc74caa08d",
"name" : "console-client-e13e3427-aa1a-4b75-9f82-37d0b497c85c",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "7e542355-7c2b-40b7-a883-6277c55705c9",
"createdAt" : {
"nano" : 488432000,
"epochSecond" : 1765209849
},
"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" : "dcafcfb1-9331-4a7d-8651-347675d3ddb6",
"oidcPublicClientId" : "5143f12d-51b4-4d7b-9519-1699dba7a1e6",
"name" : "console-client-86fdf9bd-7d2e-4c93-84d9-25c1c1b55269",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 495
{
"id" : "3aa296cc-45b0-4773-ac4f-dceb5033b297",
"organizationId" : "dcafcfb1-9331-4a7d-8651-347675d3ddb6",
"oidcPublicClientId" : "5143f12d-51b4-4d7b-9519-1699dba7a1e6",
"name" : "console-client-86fdf9bd-7d2e-4c93-84d9-25c1c1b55269",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "149b208c-5c9a-40e8-b6c4-55b04fb25bfe",
"createdAt" : {
"nano" : 410261000,
"epochSecond" : 1765209849
},
"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/a9fb9b94-4ac9-469d-b0f8-0a54e8b4518d' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-7f8c5206-c69d-4517-9e5b-7b59a53adcda",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 494
{
"id" : "a9fb9b94-4ac9-469d-b0f8-0a54e8b4518d",
"organizationId" : "2d328249-fec7-416e-a458-b011d51627cc",
"oidcPublicClientId" : "a0ce8361-93e9-43e8-8689-7c5bc78c1f34",
"name" : "custom-client-7f8c5206-c69d-4517-9e5b-7b59a53adcda",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "6dcdd398-ddf5-467a-bda4-9768db98a519",
"createdAt" : {
"nano" : 301670000,
"epochSecond" : 1765209849
},
"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/02c88485-4cb3-4244-b536-750ca3e276ce' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 543
{
"id" : "02c88485-4cb3-4244-b536-750ca3e276ce",
"organizationId" : "98d3b522-28a2-40dc-a03c-b46386e09e22",
"oidcPublicClientId" : "e63f0f2d-2d5f-42bc-af80-795578dd74c5",
"name" : "number two",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "5d7055ff-faf0-4b65-97ad-13fe13c26760",
"createdAt" : {
"nano" : 572698000,
"epochSecond" : 1765209849
},
"deletedAt" : {
"nano" : 586668000,
"epochSecond" : 1765209849
},
"deletedBy" : "f45a6675-2b09-4046-b34b-c9e3217a54fe",
"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" : "024139cf-3919-49e1-b5b4-b98be5ff3f40",
"oidcIssuerId" : "056faf7e-f775-43d9-b788-37e14a86d0b2",
"audience" : "mop-aud-a21f399f-d8b9-45a3-bdd7-75947b32f45c",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "9b7fc2cc-bf32-4343-9c16-31f01d09e279",
"createdAt" : {
"nano" : 969625000,
"epochSecond" : 1765209844
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"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" : 885509000,
"epochSecond" : 1765209783
},
"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" : 885509000,
"epochSecond" : 1765209783
},
"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/82bd9c68-d832-4aa3-9bc0-0452d1700c7a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "82bd9c68-d832-4aa3-9bc0-0452d1700c7a",
"oidcIssuerId" : "88463652-5276-49ae-842f-b1b53f347ee3",
"audience" : "mop-aud-6abc797b-5679-4e43-b2e3-8987ecb6b73d",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "902d4abf-5515-43c5-8c85-d13ec5bef186",
"createdAt" : {
"nano" : 553351000,
"epochSecond" : 1765209845
},
"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" : "dcf5f046-ad4b-48cc-99ee-e4cba3c49a0a",
"audience" : "mop-aud-3d345272-34d2-43d0-9ab1-5b65ddd8e92f",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "0bf94b4d-4097-45d6-af3d-bfdf43d32c2e",
"oidcIssuerId" : "dcf5f046-ad4b-48cc-99ee-e4cba3c49a0a",
"audience" : "mop-aud-3d345272-34d2-43d0-9ab1-5b65ddd8e92f",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "5ac94fc0-ff8d-44ff-b956-c93c3b1339fc",
"createdAt" : {
"nano" : 480348000,
"epochSecond" : 1765209845
},
"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/789e1e79-9d77-498b-8ca4-3843053d1f6b' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-5c380dcd-26f8-460d-b0a8-a97b42a5bdbc",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "789e1e79-9d77-498b-8ca4-3843053d1f6b",
"oidcIssuerId" : "c4fce7f8-8217-4796-a037-91fc5eca190c",
"audience" : "mop-aud-5c380dcd-26f8-460d-b0a8-a97b42a5bdbc",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "8f30a77e-45d1-4f23-ab57-cfcac294a123",
"createdAt" : {
"nano" : 357900000,
"epochSecond" : 1765209845
},
"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/c56b19ef-8c9b-4e05-9285-ed59a89ea4d8' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"id" : "c56b19ef-8c9b-4e05-9285-ed59a89ea4d8",
"oidcIssuerId" : "b613a244-49d6-4b79-b118-4b982e46758d",
"audience" : "mop-aud-76823732-3f0e-4256-8650-360d23e27e8d",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "13a698bd-583a-439d-8faa-79ecb2ef2f00",
"createdAt" : {
"nano" : 611479000,
"epochSecond" : 1765209845
},
"deletedAt" : {
"nano" : 623748000,
"epochSecond" : 1765209845
},
"deletedBy" : "11a9d142-9bf2-4a35-b544-bc65b37c1b77",
"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/176c07de-9ffe-4286-aeb6-fb297319091d' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 460
{
"id" : "176c07de-9ffe-4286-aeb6-fb297319091d",
"userIdentityId" : "ea39a809-6ee2-47a4-bd31-f9c2b850f3ba",
"oidcAudienceId" : "f011c226-745a-46bf-b8e8-36e6bc8d2e9b",
"subject" : "console-client-3c298229-b99d-405b-919f-83a6ab398ff8",
"active" : true,
"createdBy" : "066ad819-b470-4440-9d3e-e3937aa2fb00",
"createdAt" : {
"nano" : 983479000,
"epochSecond" : 1765209857
},
"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" : "40f3726b-df41-4218-bc86-2b93e87b9064",
"oidcAudienceId" : "c2e8496a-deb6-4822-afb8-442a5fe5a77f",
"subject" : "console-client-85d052ec-ff8b-496d-b7a7-77bc466d1461",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "9183d412-446b-41b5-b4f8-49e83ef2a9b1",
"userIdentityId" : "40f3726b-df41-4218-bc86-2b93e87b9064",
"oidcAudienceId" : "c2e8496a-deb6-4822-afb8-442a5fe5a77f",
"subject" : "console-client-85d052ec-ff8b-496d-b7a7-77bc466d1461",
"active" : true,
"createdBy" : "21f3d5e0-2ab6-4f71-a35c-196d75936641",
"createdAt" : {
"nano" : 929213000,
"epochSecond" : 1765209857
},
"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/c96ca5d8-ce61-4612-8f6f-40948f3200fc' -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" : "c96ca5d8-ce61-4612-8f6f-40948f3200fc",
"userIdentityId" : "9d1e0feb-2733-4516-85a6-c663b905ab1a",
"oidcAudienceId" : "81b8a2d9-0533-486a-b828-a674dc8f1e9a",
"subject" : "console-client-4c57a31d-90b1-4659-b169-ce8501cec9bf",
"active" : false,
"createdBy" : "2e0ff681-55c1-4844-a7be-0d83e627806b",
"createdAt" : {
"nano" : 841275000,
"epochSecond" : 1765209857
},
"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/34c01652-48c0-44de-a49a-d7d018279c26' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 547
{
"id" : "34c01652-48c0-44de-a49a-d7d018279c26",
"userIdentityId" : "d573a9ff-3e50-4a2c-af2a-fdfa0629c1d0",
"oidcAudienceId" : "2a58676e-45e4-4b8d-8af8-00547ac8098a",
"subject" : "console-client-630b10dd-f024-4130-b8f4-f0c6c0fe7c8c",
"active" : true,
"createdBy" : "6db2fa53-e7bb-43b4-b27c-3802301709f5",
"createdAt" : {
"nano" : 41831000,
"epochSecond" : 1765209858
},
"deletedAt" : {
"nano" : 53544000,
"epochSecond" : 1765209858
},
"deletedBy" : "55bcd7fd-2f7a-459e-9221-3477975d7a2e",
"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: 1139
[ {
"id" : "03a5725b-8783-487b-b0a6-3c5b8aa07d92",
"organizationId" : "91c25a93-2066-4acb-b5a3-b6b0d7026c67",
"auth0ConnectionId" : "auth0-opaque-connectionId-56",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 321852000,
"epochSecond" : 1765209837
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "1e02c80d-30b9-4372-9196-03ff28aa0049",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"auth0ConnectionId" : "google-oauth2",
"name" : "NFSUPPORT-RO Google Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 449158000,
"epochSecond" : 1765209783
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "2f9d00d2-8ba1-45d4-a29a-803fb0e24211",
"organizationId" : "d39851b5-8186-4d34-8b6e-c9ef15dd48ef",
"auth0ConnectionId" : "auth0-opaque-connectionId-222",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 106636000,
"epochSecond" : 1765209843
},
"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/c064667d-4fe9-4af2-bba4-6db66ce12015' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 373
{
"id" : "c064667d-4fe9-4af2-bba4-6db66ce12015",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 420900000,
"epochSecond" : 1765209788
},
"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" : "d39851b5-8186-4d34-8b6e-c9ef15dd48ef",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "5425fca7-dd84-4f6d-abea-a799655864ce",
"organizationId" : "d39851b5-8186-4d34-8b6e-c9ef15dd48ef",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 131965000,
"epochSecond" : 1765209843
},
"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/84749b30-d9a7-4f0b-9141-83c81a871ad6' -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" : "84749b30-d9a7-4f0b-9141-83c81a871ad6",
"organizationId" : "7a362943-98d9-4e99-8812-2896894e738c",
"auth0ConnectionId" : "auth0-opaque-connectionId-230",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 460060000,
"epochSecond" : 1765209843
},
"updatedAt" : {
"nano" : 475959000,
"epochSecond" : 1765209843
},
"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/98a5d313-058a-4209-818c-2d784c4562b9/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 380
{
"id" : "98a5d313-058a-4209-818c-2d784c4562b9",
"organizationId" : "4dd11dcf-7e6c-472e-8296-78f37af6defe",
"auth0ConnectionId" : "auth0-opaque-connectionId-224",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 242606000,
"epochSecond" : 1765209843
},
"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/6052e6c8-c65b-4299-8a6f-3d637098879d' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "6052e6c8-c65b-4299-8a6f-3d637098879d",
"organizationId" : "a6b8f455-2034-44b5-a86e-848eb04a2882",
"auth0ConnectionId" : "auth0-opaque-connectionId-228",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 392529000,
"epochSecond" : 1765209843
},
"updatedAt" : {
"nano" : 406607000,
"epochSecond" : 1765209843
},
"deletedAt" : {
"nano" : 405000000,
"epochSecond" : 1765209843
}
}
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: 1354
[ {
"id" : "0bbec304-be00-468f-95b6-e2ae6cc4ca83",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"name" : "Network Group Admin - NF Support (NFSUP) Network Group",
"roleType" : "Standard",
"roleId" : "cf53e966-a3ad-4e80-a5fc-380fe8d48e57",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 469887000,
"epochSecond" : 1765209783
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "0d3f9ca5-11fa-4407-876c-8e987ac7a4d4",
"organizationId" : "91c25a93-2066-4acb-b5a3-b6b0d7026c67",
"name" : "Standard Role - 2de0d577-ae59-45b5-94ca-663030c7afed",
"roleType" : "Standard",
"roleId" : "2de0d577-ae59-45b5-94ca-663030c7afed",
"createdBy" : "3f32c2f7-260e-4bf9-b5d4-8eddc7cecf78",
"createdAt" : {
"nano" : 343695000,
"epochSecond" : 1765209837
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "15e3d76a-e559-49b9-9f06-8b5d12d7c56d",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"name" : "NF Support - Observation",
"roleType" : "Custom",
"roleId" : "f1e3d5d9-2899-4df7-89ab-297d29cc54bc",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 450240000,
"epochSecond" : 1765209783
},
"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/4814daa5-2c5c-4b1b-bed5-25ab68916c26' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 458
{
"id" : "4814daa5-2c5c-4b1b-bed5-25ab68916c26",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"name" : "Standard Role - 35943a33-61ea-40b0-9d7a-6e7462b1d2da",
"roleType" : "Standard",
"roleId" : "35943a33-61ea-40b0-9d7a-6e7462b1d2da",
"createdBy" : "447b9d8e-34ee-4e84-af44-3a1d76a4345b",
"createdAt" : {
"nano" : 533806000,
"epochSecond" : 1765209788
},
"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" : "6e39cb9d-dc32-4027-8ae5-5466ccade830",
"roleType" : "Standard",
"roleId" : "fc43cf2f-5ed2-4456-86e3-fbd0bbb42055"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "55bf7f7b-1037-46ed-8bea-80ca0ca724e1",
"organizationId" : "6e39cb9d-dc32-4027-8ae5-5466ccade830",
"name" : "Standard Role - fc43cf2f-5ed2-4456-86e3-fbd0bbb42055",
"roleType" : "Standard",
"roleId" : "fc43cf2f-5ed2-4456-86e3-fbd0bbb42055",
"createdBy" : "ef5d689d-93ef-4ba1-aa10-807c05270e22",
"createdAt" : {
"nano" : 410421000,
"epochSecond" : 1765209838
},
"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/bdf7868c-fbe7-4d42-8147-2a5702bd202d' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 545
{
"id" : "bdf7868c-fbe7-4d42-8147-2a5702bd202d",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"name" : "Standard Role - e5472c01-568a-4b2d-b3ea-278c13138aa7",
"roleType" : "Standard",
"roleId" : "e5472c01-568a-4b2d-b3ea-278c13138aa7",
"createdBy" : "18d3298f-dc82-47ad-bfff-2fbbe3da3510",
"createdAt" : {
"nano" : 61183000,
"epochSecond" : 1765209838
},
"deletedAt" : {
"nano" : 76000000,
"epochSecond" : 1765209838
},
"deletedBy" : "e8539a32-736c-4c11-a328-96b753436161",
"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/0d3f9ca5-11fa-4407-876c-8e987ac7a4d4/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "7cdad32f-9b3d-41f0-92b4-b473897ba80c", "033a7ded-0d34-4562-9d19-3d11a94d346e", "322b1f07-fb04-4b43-b3d3-19dd6365183d" ],
"excludeIdentityIds" : [ "033a7ded-0d34-4562-9d19-3d11a94d346e", "322b1f07-fb04-4b43-b3d3-19dd6365183d", "87d5e758-bac8-4b6d-8605-a4dab5d95cf8" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"7cdad32f-9b3d-41f0-92b4-b473897ba80c" : 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 |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
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" : "94bc368a-cbfe-403e-8b8a-e27562c77b44",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-360@acme.com",
"identityMappings" : [ {
"id" : "a7f76bdb-cb5a-4cc5-89b8-dd9c1d4d8fbd",
"auth0UserId" : "auth0-opaque-userId-361",
"identityProviderId" : "c064667d-4fe9-4af2-bba4-6db66ce12015",
"userIdentityId" : "94bc368a-cbfe-403e-8b8a-e27562c77b44"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 115095000,
"epochSecond" : 1765209856
},
"deletedAt" : null,
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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 |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/9a7d4fe4-89d6-4912-a426-133deb1724fa' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "9a7d4fe4-89d6-4912-a426-133deb1724fa",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "63792990-a44e-4e48-8b52-b9cbcac227c3",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "a3ac2c9e-4f28-4a1e-b48f-b150050ced42",
"userIdentityId" : "9a7d4fe4-89d6-4912-a426-133deb1724fa"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 615407000,
"epochSecond" : 1765209788
},
"deletedAt" : null,
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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: 2165
[ {
"id" : "11cd16fd-dd49-46d4-b400-e0da1fde65a5",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-110@acme.com",
"identityMappings" : [ {
"id" : "b2181a8d-4949-4eed-b80b-02be36f39d9b",
"auth0UserId" : "auth0-opaque-userId-111",
"identityProviderId" : "c064667d-4fe9-4af2-bba4-6db66ce12015",
"userIdentityId" : "11cd16fd-dd49-46d4-b400-e0da1fde65a5"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 811355000,
"epochSecond" : 1765209839
},
"deletedAt" : null,
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "27847e50-842a-4012-87ee-a71111810012",
"organizationId" : "d51d32da-369a-48f4-87eb-fe22a7f2e587",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-100@acme.com",
"identityMappings" : [ {
"id" : "57112f52-7974-49d8-9802-a9a1f29027f3",
"auth0UserId" : "auth0-opaque-userId-101",
"identityProviderId" : "fad285e3-7e65-4363-9cf1-729bd05b65d0",
"userIdentityId" : "27847e50-842a-4012-87ee-a71111810012"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 611523000,
"epochSecond" : 1765209838
},
"deletedAt" : null,
"tenantId" : "d51d32da-369a-48f4-87eb-fe22a7f2e587",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "303b5aa6-e5b4-40ed-a8d1-f320b4d4357f",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "b3c718c3-b79a-4bab-9ffd-a813346a5628",
"auth0UserId" : "auth0-opaque-userId-103",
"identityProviderId" : "c064667d-4fe9-4af2-bba4-6db66ce12015",
"userIdentityId" : "303b5aa6-e5b4-40ed-a8d1-f320b4d4357f"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 845329000,
"epochSecond" : 1765209838
},
"deletedAt" : null,
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"name" : "Bobby White",
"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/9a7d4fe4-89d6-4912-a426-133deb1724fa' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "9a7d4fe4-89d6-4912-a426-133deb1724fa",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "63792990-a44e-4e48-8b52-b9cbcac227c3",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "a3ac2c9e-4f28-4a1e-b48f-b150050ced42",
"userIdentityId" : "9a7d4fe4-89d6-4912-a426-133deb1724fa"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 615407000,
"epochSecond" : 1765209788
},
"deletedAt" : null,
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/a3ac2c9e-4f28-4a1e-b48f-b150050ced42' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 710
{
"id" : "9a7d4fe4-89d6-4912-a426-133deb1724fa",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "63792990-a44e-4e48-8b52-b9cbcac227c3",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "a3ac2c9e-4f28-4a1e-b48f-b150050ced42",
"userIdentityId" : "9a7d4fe4-89d6-4912-a426-133deb1724fa"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 615407000,
"epochSecond" : 1765209788
},
"deletedAt" : null,
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 477
{
"id" : "6a3c586f-2913-4119-8ce1-d53bf9b95346",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 5425000,
"epochSecond" : 1765209857
},
"deletedAt" : null,
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/45e494e5-eac2-4c69-be20-e82606509aab' -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" : "45e494e5-eac2-4c69-be20-e82606509aab",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "52f488fc-db5c-48da-ad84-29e3ed02debf",
"auth0UserId" : "auth0-opaque-userId-365",
"identityProviderId" : "c064667d-4fe9-4af2-bba4-6db66ce12015",
"userIdentityId" : "45e494e5-eac2-4c69-be20-e82606509aab"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 467724000,
"epochSecond" : 1765209856
},
"deletedAt" : null,
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/ef088282-927e-42e8-8beb-a09aaca01fc1/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 719
{
"id" : "ef088282-927e-42e8-8beb-a09aaca01fc1",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-366@acme.com",
"identityMappings" : [ {
"id" : "07b15840-6594-447c-82ec-db1dfc445054",
"auth0UserId" : "auth0-opaque-userId-367",
"identityProviderId" : "c064667d-4fe9-4af2-bba4-6db66ce12015",
"userIdentityId" : "ef088282-927e-42e8-8beb-a09aaca01fc1"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 556620000,
"epochSecond" : 1765209856
},
"deletedAt" : null,
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/72f3a1e4-850a-4cdd-9fc7-846e5e41a991/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/cc12bbd4-4734-4cf7-bc97-18bcd8437559/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:dd14580f-1929-469e-b73e-7413bbb5b5cc",
"identityProviderId" : "a3ac2c9e-4f28-4a1e-b48f-b150050ced42"
}'
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: 2036
[ {
"id" : "008b57e7-bd74-4c1c-bbca-67340283b85c",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ClientId" : null,
"awsCognitoClientId" : "6e9fa89e-b0f2-4879-99e8-e05cf869b584|hrawnoic",
"authenticationUrl" : "https://netfoundry-test-epcydp.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 243158000,
"epochSecond" : 1765209800
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "a@acme.com",
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"type" : "ApiAccountIdentity"
}, {
"id" : "0e09084a-7ef2-4a6d-8908-a7be929390dd",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ClientId" : "591f0571-6185-4cd8-a535-61d6438030c7",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-16",
"contactEmail" : "service.admin-17@foo.com",
"description" : "updatable API Account description-18",
"active" : true,
"createdAt" : {
"nano" : 364044000,
"epochSecond" : 1765209791
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-17@foo.com",
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"type" : "ApiAccountIdentity"
}, {
"id" : "2711a008-2d2a-4d1e-94a2-b2cd0e00e63c",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ClientId" : "d8e8511b-204c-45f4-aa7c-3c76fb492290",
"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" : 668874000,
"epochSecond" : 1765209788
},
"updatedAt" : {
"nano" : 610563000,
"epochSecond" : 1765209789
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/7694d940-048c-46b1-b443-3f4fe61cc7c8' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "7694d940-048c-46b1-b443-3f4fe61cc7c8",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ClientId" : "7723def2-2dc8-41de-9229-856e07bbc1cc",
"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" : 645110000,
"epochSecond" : 1765209788
},
"updatedAt" : {
"nano" : 971007000,
"epochSecond" : 1765209790
},
"deletedAt" : null,
"email" : "no-reply@acme.com",
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/04aa71e8-0335-4144-93a6-5a53c21e33f4' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 682
{
"id" : "ab787453-a9ee-4f88-8fbc-0f8b6fb62c52",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ClientId" : "04aa71e8-0335-4144-93a6-5a53c21e33f4",
"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" : 763551000,
"epochSecond" : 1765209829
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-32@foo.com",
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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" : "ad4b7a52-96ee-480e-8ec6-37ebbbe907e5",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ClientId" : null,
"awsCognitoClientId" : "11730413-c4e9-4f1a-9a43-5fd7bbd5f8eb|hhdxnbkb",
"authenticationUrl" : "https://netfoundry-test-tndybt.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" : 886897000,
"epochSecond" : 1765209794
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"type" : "ApiAccountIdentity"
},
"clientId" : "hhdxnbkb",
"password" : "psmgbqwtoumgbiyxmdswkfvu",
"authenticationUrl" : "https://netfoundry-test-tndybt.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/2711a008-2d2a-4d1e-94a2-b2cd0e00e63c' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "Robot",
"contactEmail" : "robot@acme.com",
"description" : "description here."
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 680
{
"id" : "2711a008-2d2a-4d1e-94a2-b2cd0e00e63c",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ClientId" : "d8e8511b-204c-45f4-aa7c-3c76fb492290",
"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" : 668874000,
"epochSecond" : 1765209788
},
"updatedAt" : {
"nano" : 610563000,
"epochSecond" : 1765209789
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/77a76bdf-dc6c-4b5c-b5e2-f8139e391866/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 739
{
"id" : "77a76bdf-dc6c-4b5c-b5e2-f8139e391866",
"organizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"auth0ClientId" : "ca4c9fb0-5cd4-455d-97ca-2ccd3c78cf90",
"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" : 540682000,
"epochSecond" : 1765209829
},
"updatedAt" : {
"nano" : 577473000,
"epochSecond" : 1765209829
},
"deletedAt" : null,
"email" : "service.admin-26@foo.com",
"tenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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: 565
[ {
"id" : "3e75736f-6d78-4870-a620-d2445ef307aa",
"fromIdentityId" : "bf1eb138-eab9-4102-b542-259e1829b504",
"toOrganizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "netfoundry.io",
"expiration" : {
"nano" : 732176000,
"epochSecond" : 1765814643
},
"targetUserIdentityId" : "a41dd71f-6187-4e4f-bf66-55d0550d5c1b",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/75a32ecf-2360-4ed4-8472-f72a602240b1' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 564
{
"id" : "75a32ecf-2360-4ed4-8472-f72a602240b1",
"fromIdentityId" : "9a7d4fe4-89d6-4912-a426-133deb1724fa",
"toOrganizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"invitedEmailAddress" : "new.employee-240@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 113969000,
"epochSecond" : 1765814644
},
"targetUserIdentityId" : "85fd59df-dfae-462a-99cf-2d6178837a2e",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.console.netfoundry.io/invitation",
"targetUserIdentityId" : "a41dd71f-6187-4e4f-bf66-55d0550d5c1b"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 561
{
"id" : "3e75736f-6d78-4870-a620-d2445ef307aa",
"fromIdentityId" : "bf1eb138-eab9-4102-b542-259e1829b504",
"toOrganizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "netfoundry.io",
"expiration" : {
"nano" : 732176000,
"epochSecond" : 1765814643
},
"targetUserIdentityId" : "a41dd71f-6187-4e4f-bf66-55d0550d5c1b",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/4bbde73b-422a-4814-91d1-ede9211a383e/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 623
{
"id" : "4bbde73b-422a-4814-91d1-ede9211a383e",
"fromIdentityId" : "9a7d4fe4-89d6-4912-a426-133deb1724fa",
"toOrganizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"invitedEmailAddress" : "new.employee-237@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 35307000,
"epochSecond" : 1765814644
},
"targetUserIdentityId" : "acbf0b21-641e-44f3-b239-6d1e26fb52a9",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 54329000,
"epochSecond" : 1765209844
},
"toTenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/a9fd71c7-6aa2-4a9a-9799-7d0fe31f42a2/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 679
{
"id" : "a9fd71c7-6aa2-4a9a-9799-7d0fe31f42a2",
"fromIdentityId" : "9a7d4fe4-89d6-4912-a426-133deb1724fa",
"toOrganizationId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"invitedEmailAddress" : "new.employee-243@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 252489000,
"epochSecond" : 1765814644
},
"targetUserIdentityId" : "a3860ccf-75f7-411e-9b76-41b094be5c68",
"accepted" : null,
"revokedAt" : {
"nano" : 269125000,
"epochSecond" : 1765209844
},
"responseReceivedAt" : {
"nano" : 269129000,
"epochSecond" : 1765209844
},
"toTenantId" : "ba2e1237-f2b1-4a61-8bb8-2cdb9a95730e",
"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/qVU1gLtIzrErCgyXlgo35XXbxZHOvsbkzmcC' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-250@acme.com"
},
"invitedEmailAddress" : "new.employee-252@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-2",
"expiration" : {
"nano" : 633997000,
"epochSecond" : 1765814644
},
"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/BvryiuDxYjRzf1tm6rBmsVIShbro1JnrbauX/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" : 558592000,
"epochSecond" : 1765814644
},
"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/B1AMMGCbJvIOuD5qLdPAgDFNDeiSkcj4HzeT/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.eyJpYXQiOjE3NjUyMDk4NDQsImV4cCI6MTc2NTIxMDc0NCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJpbnZpdGF0aW9uIiwiaW52aXRhdGlvbklkIjoiMzZiZDFhZTMtNjg1Yi00ZWJjLTgzN2QtMjQ3YTc1ZGM4MWY3IiwidGVuYW50TGFiZWwiOiJBQ01FLTIiLCJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC00IiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0zIl0sInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24ifQ.Fh5VZf5LDTId9naAjsVdwnD1SOqIENtKYM5OKf772YMNe4iOVUfAfcDBC3Ly4g8G1uw4fm_oqQAF9ufckzslMspZY3XADbmXTQ1w3EU3jSeri0lbISrssetzWX1HWVvyrBt0cKiMpDZhDpEcPBJPbf2kMX6udWTcjzN4Cv8GcCTxr4nHvCMykXObyFjPdLR1Mzylv-8H9BFvxH7ZRNhDwWEAugMAdjFiN-S7EJM8ZiQA_17P0yg4qyGJoox5529-Gidumpkp5goq5vHLS0xI6sd9wceXhqQxkAZxQl0ePbewX6c5j1GmhenHK94xRzjS_dthq__k0cjq2wRK4h117Q",
"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.eyJpYXQiOjE3NjUyMDk4NDQsImV4cCI6MTc2NTIxMDc0NCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0yIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtNCIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMyJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.W8_uL_GxaFcBMUz8_eTd5WfqBCmjVZgfCP0p9jYh1qL_A7eluVXDnixIH4Fv0i3Ij8HaGkiIsLZPUkxlCBK68uWPAgqfhRejnUUBehRyfElnNqj3rA0ZlTwRpR48fFLeL9SqOPe-LNJnJ-jOWViXeLs3cfowquSFCz_EZ5XO26u2iftvbPdsCZbY3XBuWpgn6kNxw6yZKHr5eLyVKpg7tH0j8sVW4XnBu7ju9YGZGdv71UvPkCLbW-FfuA_2SUzWrufUcLsWUbqey6idJwmoWoZ2rzH1Vt_gxd0_x-RIK5f2qkDtnfx1304m9WO2Z7ve6vIKuQQ6urpIkTk4jeYBMg",
"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: 1283
[ {
"id" : "4cdcf992-6a4d-441d-8652-3c4327529301",
"userIdentityId" : "eeed8c97-06f8-4657-8675-667aab10e85a",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "eeed8c97-06f8-4657-8675-667aab10e85a",
"createdAt" : {
"nano" : 739258000,
"epochSecond" : 1765209839
},
"updatedAt" : {
"nano" : 739258000,
"epochSecond" : 1765209839
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "695d7599-e203-4b19-a5de-4fd0a8991b1e",
"userIdentityId" : "906624cd-db6a-429c-bb37-89047c5242dc",
"preferences" : {
"hello" : "world"
},
"createdBy" : "906624cd-db6a-429c-bb37-89047c5242dc",
"createdAt" : {
"nano" : 159691000,
"epochSecond" : 1765209840
},
"updatedAt" : {
"nano" : 159691000,
"epochSecond" : 1765209840
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "910eeb22-63ee-42a5-a9c1-782f053697f4",
"userIdentityId" : "a4f9fcb5-d80f-467c-9991-b4963e2f0b9d",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "a4f9fcb5-d80f-467c-9991-b4963e2f0b9d",
"createdAt" : {
"nano" : 948181000,
"epochSecond" : 1765209839
},
"updatedAt" : {
"nano" : 948181000,
"epochSecond" : 1765209839
},
"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/61241dac-c41a-4848-ae74-8557ab1728c1' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "61241dac-c41a-4848-ae74-8557ab1728c1",
"userIdentityId" : "0f69a454-3c1e-4c06-8bcb-13261cdc8e70",
"preferences" : {
"hello" : "world"
},
"createdBy" : "0f69a454-3c1e-4c06-8bcb-13261cdc8e70",
"createdAt" : {
"nano" : 662301000,
"epochSecond" : 1765209841
},
"updatedAt" : {
"nano" : 662301000,
"epochSecond" : 1765209841
},
"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" : "00069bf0-f069-46f7-ac43-17ff3d69ac1b",
"userIdentityId" : "9a1325e0-2b76-4c93-b033-49b9b3ec5810",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "9a1325e0-2b76-4c93-b033-49b9b3ec5810",
"createdAt" : {
"nano" : 702931000,
"epochSecond" : 1765209840
},
"updatedAt" : {
"nano" : 702931000,
"epochSecond" : 1765209840
},
"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/30480aee-af5f-4aed-9261-8941b954f707' -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" : "30480aee-af5f-4aed-9261-8941b954f707",
"userIdentityId" : "bcf8d489-f4ce-4def-b1a1-b578f3786faf",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "bcf8d489-f4ce-4def-b1a1-b578f3786faf",
"createdAt" : {
"nano" : 572795000,
"epochSecond" : 1765209842
},
"updatedAt" : {
"nano" : 586716000,
"epochSecond" : 1765209842
},
"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/adda9345-f85b-4d8c-9f1f-5f36ac0c2dd5' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "adda9345-f85b-4d8c-9f1f-5f36ac0c2dd5",
"userIdentityId" : "81249106-15e7-4bb9-9fca-67a62e056398",
"preferences" : {
"hello" : "world"
},
"createdBy" : "81249106-15e7-4bb9-9fca-67a62e056398",
"createdAt" : {
"nano" : 161734000,
"epochSecond" : 1765209841
},
"updatedAt" : {
"nano" : 184516000,
"epochSecond" : 1765209841
},
"deletedBy" : "4df80206-1291-4942-968f-c68fe63aa3ff",
"deletedAt" : {
"nano" : 184000000,
"epochSecond" : 1765209841
}
}
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: 1266
[ {
"id" : "79d111a5-2450-4fcf-99a3-cade2da2f1ce",
"organizationId" : "46f65322-e201-4dc5-98f2-12bd8ed5fa27",
"preferences" : {
"hello" : "world"
},
"createdBy" : "67f29085-9350-4b13-8eff-7ba778d32fd7",
"createdAt" : {
"nano" : 46109000,
"epochSecond" : 1765209850
},
"updatedAt" : {
"nano" : 46109000,
"epochSecond" : 1765209850
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "9288d196-131e-43dc-b144-af2535bbd111",
"organizationId" : "81f28720-cf7b-4069-a73a-8d04100c6351",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "a421a2f2-50f1-4e84-b7a7-bf48b33ceb35",
"createdAt" : {
"nano" : 145316000,
"epochSecond" : 1765209850
},
"updatedAt" : {
"nano" : 145316000,
"epochSecond" : 1765209850
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "cedbce7a-304b-4313-831b-32eb2510c43c",
"organizationId" : "489c450a-061c-400d-b57a-5b89870ad573",
"preferences" : {
"hello" : "world"
},
"createdBy" : "efc8803b-0160-4a5b-b1f4-336d3c404446",
"createdAt" : {
"nano" : 262800000,
"epochSecond" : 1765209850
},
"updatedAt" : {
"nano" : 262800000,
"epochSecond" : 1765209850
},
"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/cedbce7a-304b-4313-831b-32eb2510c43c' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "cedbce7a-304b-4313-831b-32eb2510c43c",
"organizationId" : "489c450a-061c-400d-b57a-5b89870ad573",
"preferences" : {
"hello" : "world"
},
"createdBy" : "efc8803b-0160-4a5b-b1f4-336d3c404446",
"createdAt" : {
"nano" : 262800000,
"epochSecond" : 1765209850
},
"updatedAt" : {
"nano" : 262800000,
"epochSecond" : 1765209850
},
"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" : "81f28720-cf7b-4069-a73a-8d04100c6351",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "9288d196-131e-43dc-b144-af2535bbd111",
"organizationId" : "81f28720-cf7b-4069-a73a-8d04100c6351",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "a421a2f2-50f1-4e84-b7a7-bf48b33ceb35",
"createdAt" : {
"nano" : 145316000,
"epochSecond" : 1765209850
},
"updatedAt" : {
"nano" : 145316000,
"epochSecond" : 1765209850
},
"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/6d916727-bea2-45fa-b24b-3057f464aae4' -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" : "6d916727-bea2-45fa-b24b-3057f464aae4",
"organizationId" : "e68ade39-9e90-4372-b520-94e3afa57807",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "12235365-3d39-458a-b36c-829ee2ea0cad",
"createdAt" : {
"nano" : 417656000,
"epochSecond" : 1765209850
},
"updatedAt" : {
"nano" : 435550000,
"epochSecond" : 1765209850
},
"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/a5040171-2580-4f05-a170-1589d410a392' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "a5040171-2580-4f05-a170-1589d410a392",
"organizationId" : "cfe411ad-919f-4e52-ab6d-dd7765a0530d",
"preferences" : {
"hello" : "world"
},
"createdBy" : "0cf61049-3832-4794-b53d-0282405d1cca",
"createdAt" : {
"nano" : 197673000,
"epochSecond" : 1765209850
},
"updatedAt" : {
"nano" : 211643000,
"epochSecond" : 1765209850
},
"deletedBy" : "574b60b1-a4bf-435d-aa94-90eadc03ef86",
"deletedAt" : {
"nano" : 211000000,
"epochSecond" : 1765209850
}
}