User Management
Create Service Account
Authentication
Connections
AWS
Guard Rails
Server Management
Jira
Organization Management
Reports
User Management
Sessions
User Management
Create Service Account
Create a service account that is associated with a identity provider client
POST
/
serviceaccounts
curl --request POST \
--url https://use.hoop.dev/api/serviceaccounts \
--header 'Content-Type: application/json' \
--data '{
"groups": [
"engineering"
],
"name": "system-automation",
"status": "active",
"subject": "bJ8xV3ASWGTi7L9Z6zvHKqxJlnZM5TxV1bRdc0706vW"
}'
{
"groups": [
"engineering"
],
"id": "BF997324-5A27-4778-806A-41EE83598494",
"name": "system-automation",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"subject": "bJ8xV3ASWGTi7L9Z6zvHKqxJlnZM5TxV1bRdc0706vW"
}
Body
application/json
The request body resource
The body is of type object
.
Response
201
application/json
Created
The response is of type object
.
curl --request POST \
--url https://use.hoop.dev/api/serviceaccounts \
--header 'Content-Type: application/json' \
--data '{
"groups": [
"engineering"
],
"name": "system-automation",
"status": "active",
"subject": "bJ8xV3ASWGTi7L9Z6zvHKqxJlnZM5TxV1bRdc0706vW"
}'
{
"groups": [
"engineering"
],
"id": "BF997324-5A27-4778-806A-41EE83598494",
"name": "system-automation",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"subject": "bJ8xV3ASWGTi7L9Z6zvHKqxJlnZM5TxV1bRdc0706vW"
}