dashboard-members
23 endpoints from the published OpenAPI import.
GET/api/v1/dashboard/members
List Members
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
search | query | any | false | |
limit | query | integer | false | |
offset | query | integer | false |
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/dashboard/members' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/dashboard/members",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/members", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/dashboard/members", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET/api/v1/dashboard/members/quota
Get Member Quota
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/dashboard/members/quota' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/dashboard/members/quota",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/members/quota", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/dashboard/members/quota", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
POST/api/v1/dashboard/members/invite
Invite Member
Try it
Examples
cURL
curl -X POST 'https://spideriq.ai/api/v1/dashboard/members/invite' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"name": "string",
"role": "string",
"groups": [
"string"
],
"site_name": "string",
"login_url": "string"
}'Python
import httpx
resp = httpx.post(
"https://spideriq.ai/api/v1/dashboard/members/invite",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"email": "string", "name": "string", "role": "string", "groups": ["string"], "site_name": "string", "login_url": "string"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/members/invite", {
method: "POST",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"email": "string", "name": "string", "role": "string", "groups": ["string"], "site_name": "string", "login_url": "string"})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"email": "string", "name": "string", "role": "string", "groups": ["string"], "site_name": "string", "login_url": "string"}`)
req, _ := http.NewRequest("POST", "https://spideriq.ai/api/v1/dashboard/members/invite", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
201 | Successful Response |
422 | Validation Error |
POST/api/v1/dashboard/members/{user_id}/ban
Ban Member
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user_id | path | string | true |
Try it
Examples
cURL
curl -X POST 'https://spideriq.ai/api/v1/dashboard/members/{user_id}/ban' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.post(
"https://spideriq.ai/api/v1/dashboard/members/{user_id}/ban",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/members/{user_id}/ban", {
method: "POST",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://spideriq.ai/api/v1/dashboard/members/{user_id}/ban", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
POST/api/v1/dashboard/members/{user_id}/unban
Unban Member
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user_id | path | string | true |
Try it
Examples
cURL
curl -X POST 'https://spideriq.ai/api/v1/dashboard/members/{user_id}/unban' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"role": "member"
}'Python
import httpx
resp = httpx.post(
"https://spideriq.ai/api/v1/dashboard/members/{user_id}/unban",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"role": "member"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/members/{user_id}/unban", {
method: "POST",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"role": "member"})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"role": "member"}`)
req, _ := http.NewRequest("POST", "https://spideriq.ai/api/v1/dashboard/members/{user_id}/unban", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
POST/api/v1/dashboard/members/{user_id}/role
Set Member Role
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user_id | path | string | true |
Try it
Examples
cURL
curl -X POST 'https://spideriq.ai/api/v1/dashboard/members/{user_id}/role' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"role": "string"
}'Python
import httpx
resp = httpx.post(
"https://spideriq.ai/api/v1/dashboard/members/{user_id}/role",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"role": "string"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/members/{user_id}/role", {
method: "POST",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"role": "string"})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"role": "string"}`)
req, _ := http.NewRequest("POST", "https://spideriq.ai/api/v1/dashboard/members/{user_id}/role", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
PATCH/api/v1/dashboard/members/{user_id}
Patch Site Member
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user_id | path | string | true |
Try it
Examples
cURL
curl -X PATCH 'https://spideriq.ai/api/v1/dashboard/members/{user_id}' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"status": "string",
"groups": [
"string"
]
}'Python
import httpx
resp = httpx.patch(
"https://spideriq.ai/api/v1/dashboard/members/{user_id}",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"status": "string", "groups": ["string"]},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/members/{user_id}", {
method: "PATCH",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"status": "string", "groups": ["string"]})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"status": "string", "groups": ["string"]}`)
req, _ := http.NewRequest("PATCH", "https://spideriq.ai/api/v1/dashboard/members/{user_id}", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET/api/v1/dashboard/member-groups
List Groups
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/dashboard/member-groups' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/dashboard/member-groups",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/member-groups", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/dashboard/member-groups", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
POST/api/v1/dashboard/member-groups
Create Group
Try it
Examples
cURL
curl -X POST 'https://spideriq.ai/api/v1/dashboard/member-groups' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"slug": "string",
"name": "string",
"membership_type": "manual",
"condition_predicate": {}
}'Python
import httpx
resp = httpx.post(
"https://spideriq.ai/api/v1/dashboard/member-groups",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"slug": "string", "name": "string", "membership_type": "manual", "condition_predicate": {}},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/member-groups", {
method: "POST",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"slug": "string", "name": "string", "membership_type": "manual", "condition_predicate": {}})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"slug": "string", "name": "string", "membership_type": "manual", "condition_predicate": {}}`)
req, _ := http.NewRequest("POST", "https://spideriq.ai/api/v1/dashboard/member-groups", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
201 | Successful Response |
422 | Validation Error |
PATCH/api/v1/dashboard/member-groups/{group_id}
Update Group
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
group_id | path | string | true |
Try it
Examples
cURL
curl -X PATCH 'https://spideriq.ai/api/v1/dashboard/member-groups/{group_id}' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"active": true,
"condition_predicate": {},
"clear_predicate": false
}'Python
import httpx
resp = httpx.patch(
"https://spideriq.ai/api/v1/dashboard/member-groups/{group_id}",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"name": "string", "active": true, "condition_predicate": {}, "clear_predicate": false},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/member-groups/{group_id}", {
method: "PATCH",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"name": "string", "active": true, "condition_predicate": {}, "clear_predicate": false})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"name": "string", "active": true, "condition_predicate": {}, "clear_predicate": false}`)
req, _ := http.NewRequest("PATCH", "https://spideriq.ai/api/v1/dashboard/member-groups/{group_id}", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
DELETE/api/v1/dashboard/member-groups/{group_id}
Delete Group
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
group_id | path | string | true |
Try it
Examples
cURL
curl -X DELETE 'https://spideriq.ai/api/v1/dashboard/member-groups/{group_id}' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.delete(
"https://spideriq.ai/api/v1/dashboard/member-groups/{group_id}",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/member-groups/{group_id}", {
method: "DELETE",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("DELETE", "https://spideriq.ai/api/v1/dashboard/member-groups/{group_id}", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
204 | Successful Response |
422 | Validation Error |
GET/api/v1/dashboard/pages/{page_id}/access
Get Page Access
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string | true |
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/dashboard/pages/{page_id}/access' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/dashboard/pages/{page_id}/access",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/pages/{page_id}/access", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/dashboard/pages/{page_id}/access", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
PUT/api/v1/dashboard/pages/{page_id}/access
Set Page Access
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string | true |
Try it
Examples
cURL
curl -X PUT 'https://spideriq.ai/api/v1/dashboard/pages/{page_id}/access' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"access": "string",
"allowed_groups": [
"string"
]
}'Python
import httpx
resp = httpx.put(
"https://spideriq.ai/api/v1/dashboard/pages/{page_id}/access",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"access": "string", "allowed_groups": ["string"]},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/pages/{page_id}/access", {
method: "PUT",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"access": "string", "allowed_groups": ["string"]})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"access": "string", "allowed_groups": ["string"]}`)
req, _ := http.NewRequest("PUT", "https://spideriq.ai/api/v1/dashboard/pages/{page_id}/access", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET/api/v1/dashboard/data-restrictions
List Data Restrictions
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
source_id | query | any | false |
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/dashboard/data-restrictions' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/dashboard/data-restrictions",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/data-restrictions", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/dashboard/data-restrictions", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
POST/api/v1/dashboard/data-restrictions
Create Data Restriction
Try it
Examples
cURL
curl -X POST 'https://spideriq.ai/api/v1/dashboard/data-restrictions' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"source_id": "string",
"group_slug": "string",
"field": "string",
"op": "in",
"allowed_values": [
"string"
]
}'Python
import httpx
resp = httpx.post(
"https://spideriq.ai/api/v1/dashboard/data-restrictions",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"source_id": "string", "group_slug": "string", "field": "string", "op": "in", "allowed_values": ["string"]},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/data-restrictions", {
method: "POST",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"source_id": "string", "group_slug": "string", "field": "string", "op": "in", "allowed_values": ["string"]})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"source_id": "string", "group_slug": "string", "field": "string", "op": "in", "allowed_values": ["string"]}`)
req, _ := http.NewRequest("POST", "https://spideriq.ai/api/v1/dashboard/data-restrictions", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
201 | Successful Response |
422 | Validation Error |
PATCH/api/v1/dashboard/data-restrictions/{restriction_id}
Update Data Restriction
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
restriction_id | path | string | true |
Try it
Examples
cURL
curl -X PATCH 'https://spideriq.ai/api/v1/dashboard/data-restrictions/{restriction_id}' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"op": "string",
"allowed_values": [
"string"
],
"active": true
}'Python
import httpx
resp = httpx.patch(
"https://spideriq.ai/api/v1/dashboard/data-restrictions/{restriction_id}",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"op": "string", "allowed_values": ["string"], "active": true},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/data-restrictions/{restriction_id}", {
method: "PATCH",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"op": "string", "allowed_values": ["string"], "active": true})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"op": "string", "allowed_values": ["string"], "active": true}`)
req, _ := http.NewRequest("PATCH", "https://spideriq.ai/api/v1/dashboard/data-restrictions/{restriction_id}", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
DELETE/api/v1/dashboard/data-restrictions/{restriction_id}
Delete Data Restriction
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
restriction_id | path | string | true |
Try it
Examples
cURL
curl -X DELETE 'https://spideriq.ai/api/v1/dashboard/data-restrictions/{restriction_id}' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.delete(
"https://spideriq.ai/api/v1/dashboard/data-restrictions/{restriction_id}",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/data-restrictions/{restriction_id}", {
method: "DELETE",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("DELETE", "https://spideriq.ai/api/v1/dashboard/data-restrictions/{restriction_id}", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
204 | Successful Response |
422 | Validation Error |
GET/api/v1/dashboard/sso-config
Get Sso Config
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/dashboard/sso-config' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/dashboard/sso-config",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/sso-config", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/dashboard/sso-config", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
PUT/api/v1/dashboard/sso-config
Set Sso Config
Try it
Examples
cURL
curl -X PUT 'https://spideriq.ai/api/v1/dashboard/sso-config' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"auto_provision": true,
"default_role": "string",
"default_groups": [
"string"
]
}'Python
import httpx
resp = httpx.put(
"https://spideriq.ai/api/v1/dashboard/sso-config",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"auto_provision": true, "default_role": "string", "default_groups": ["string"]},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/sso-config", {
method: "PUT",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"auto_provision": true, "default_role": "string", "default_groups": ["string"]})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"auto_provision": true, "default_role": "string", "default_groups": ["string"]}`)
req, _ := http.NewRequest("PUT", "https://spideriq.ai/api/v1/dashboard/sso-config", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET/api/v1/dashboard/sso-providers
List Sso Providers
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/dashboard/sso-providers' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/dashboard/sso-providers",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/sso-providers", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/dashboard/sso-providers", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
GET/api/v1/dashboard/sso-providers/{provider_id}
Get Sso Provider
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
provider_id | path | string | true |
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
PUT/api/v1/dashboard/sso-providers/{provider_id}
Upsert Sso Provider
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
provider_id | path | string | true |
Try it
Examples
cURL
curl -X PUT 'https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"issuer": "string",
"domain": "string",
"client_id": "string",
"client_secret": "string",
"discovery_endpoint": "string",
"scopes": [
"string"
],
"pkce": true,
"mapping": {}
}'Python
import httpx
resp = httpx.put(
"https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}",
headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"},
json={"issuer": "string", "domain": "string", "client_id": "string", "client_secret": "string", "discovery_endpoint": "string", "scopes": ["string"], "pkce": true, "mapping": {}},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}", {
method: "PUT",
headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" },
body: JSON.stringify({"issuer": "string", "domain": "string", "client_id": "string", "client_secret": "string", "discovery_endpoint": "string", "scopes": ["string"], "pkce": true, "mapping": {}})
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{"issuer": "string", "domain": "string", "client_id": "string", "client_secret": "string", "discovery_endpoint": "string", "scopes": ["string"], "pkce": true, "mapping": {}}`)
req, _ := http.NewRequest("PUT", "https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}", body)
req.Header.Set("Authorization", "Bearer <token>")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
DELETE/api/v1/dashboard/sso-providers/{provider_id}
Delete Sso Provider
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
provider_id | path | string | true |
Try it
Examples
cURL
curl -X DELETE 'https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.delete(
"https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}", {
method: "DELETE",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("DELETE", "https://spideriq.ai/api/v1/dashboard/sso-providers/{provider_id}", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
204 | Successful Response |
422 | Validation Error |