Projects
OK
Unauthorized
Internal Server Error
GET /v1/accounts HTTP/1.1
Host:
Accept: */*
{
"accounts": [
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"dateModified": "text",
"deprecated": true,
"description": "string",
"displayName": "string",
"hash": "text",
"icon": "string",
"id": "string",
"labels": {},
"name": "string",
"resourceDocLink": "string",
"stability": "string",
"version": 1,
"warning": "string"
},
"spec": {
"alternateSecretKeys": [
"text"
],
"parameters": [
{
"credential": true,
"name": "text",
"sensitive": true,
"value": null
}
],
"secretKey": "text"
},
"status": {}
}
]
}
Created
Bad Request
Unauthorized
Forbidden
Internal Server Error
POST /v1/accounts HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
{
"account": {
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"dateModified": "text",
"deprecated": true,
"description": "string",
"displayName": "string",
"hash": "text",
"icon": "string",
"id": "string",
"labels": {},
"name": "string",
"resourceDocLink": "string",
"stability": "string",
"version": 1,
"warning": "string"
},
"spec": {
"alternateSecretKeys": [
"text"
],
"parameters": [
{
"credential": true,
"name": "text",
"sensitive": true,
"value": null
}
],
"secretKey": "text"
},
"status": {}
}
}
OK
Bad Request
Unauthorized
Not Found
Internal Server Error
PATCH /v1/accounts HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
{
"account": {
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"dateModified": "text",
"deprecated": true,
"description": "string",
"displayName": "string",
"hash": "text",
"icon": "string",
"id": "string",
"labels": {},
"name": "string",
"resourceDocLink": "string",
"stability": "string",
"version": 1,
"warning": "string"
},
"spec": {
"alternateSecretKeys": [
"text"
],
"parameters": [
{
"credential": true,
"name": "text",
"sensitive": true,
"value": null
}
],
"secretKey": "text"
},
"status": {}
}
}
No Content - Project switched successfully
No content
Unauthorized - User does not have permission to switch project
Forbidden - User does not have permission to switch project
Internal Server Error - Failed to switch project or other server errors
PATCH /v1/accounts/current HTTP/1.1
Host:
Accept: */*
No content
the id of the project
OK
Unauthorized
Not Found
Internal Server Error
GET /v1/accounts/{id} HTTP/1.1
Host:
Accept: */*
{
"account": {
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"dateModified": "text",
"deprecated": true,
"description": "string",
"displayName": "string",
"hash": "text",
"icon": "string",
"id": "string",
"labels": {},
"name": "string",
"resourceDocLink": "string",
"stability": "string",
"version": 1,
"warning": "string"
},
"spec": {
"alternateSecretKeys": [
"text"
],
"parameters": [
{
"credential": true,
"name": "text",
"sensitive": true,
"value": null
}
],
"secretKey": "text"
},
"status": {}
}
}
the id of the project to delete
Successful Delete, no content
No content
Unauthorized
Not Found
Conflict
Precondition Required
Internal Server Error
DELETE /v1/accounts/{id} HTTP/1.1
Host:
Accept: */*
No content
OK
Unauthorized
Internal Server Error
GET /v1/projects HTTP/1.1
Host:
Accept: */*
{
"accounts": [
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"dateModified": "text",
"deprecated": true,
"description": "string",
"displayName": "string",
"hash": "text",
"icon": "string",
"id": "string",
"labels": {},
"name": "string",
"resourceDocLink": "string",
"stability": "string",
"version": 1,
"warning": "string"
},
"spec": {
"alternateSecretKeys": [
"text"
],
"parameters": [
{
"credential": true,
"name": "text",
"sensitive": true,
"value": null
}
],
"secretKey": "text"
},
"status": {}
}
]
}
Created
Bad Request
Unauthorized
Forbidden
Internal Server Error
POST /v1/projects HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
{
"account": {
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"dateModified": "text",
"deprecated": true,
"description": "string",
"displayName": "string",
"hash": "text",
"icon": "string",
"id": "string",
"labels": {},
"name": "string",
"resourceDocLink": "string",
"stability": "string",
"version": 1,
"warning": "string"
},
"spec": {
"alternateSecretKeys": [
"text"
],
"parameters": [
{
"credential": true,
"name": "text",
"sensitive": true,
"value": null
}
],
"secretKey": "text"
},
"status": {}
}
}
OK
Bad Request
Unauthorized
Not Found
Internal Server Error
PATCH /v1/projects HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 6
"text"
{
"account": {
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"dateModified": "text",
"deprecated": true,
"description": "string",
"displayName": "string",
"hash": "text",
"icon": "string",
"id": "string",
"labels": {},
"name": "string",
"resourceDocLink": "string",
"stability": "string",
"version": 1,
"warning": "string"
},
"spec": {
"alternateSecretKeys": [
"text"
],
"parameters": [
{
"credential": true,
"name": "text",
"sensitive": true,
"value": null
}
],
"secretKey": "text"
},
"status": {}
}
}
No Content - Project switched successfully
No content
Unauthorized - User does not have permission to switch project
Forbidden - User does not have permission to switch project
Internal Server Error - Failed to switch project or other server errors
PATCH /v1/projects/current HTTP/1.1
Host:
Accept: */*
No content
Sets the next login project for the user
No Content - Next login project set successfully
No content
Unauthorized - User does not have permission to set next login project
Forbidden - User does not have permission to set next login project
Internal Server Error - Failed to set next login project or other server errors
PATCH /v1/projects/next-login HTTP/1.1
Host:
Accept: */*
No content
the id of the project
OK
Unauthorized
Not Found
Internal Server Error
GET /v1/projects/{id} HTTP/1.1
Host:
Accept: */*
{
"account": {
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"dateModified": "text",
"deprecated": true,
"description": "string",
"displayName": "string",
"hash": "text",
"icon": "string",
"id": "string",
"labels": {},
"name": "string",
"resourceDocLink": "string",
"stability": "string",
"version": 1,
"warning": "string"
},
"spec": {
"alternateSecretKeys": [
"text"
],
"parameters": [
{
"credential": true,
"name": "text",
"sensitive": true,
"value": null
}
],
"secretKey": "text"
},
"status": {}
}
}
the id of the project to delete
Successful Delete, no content
No content
Unauthorized
Not Found
Conflict
Precondition Required
Internal Server Error
DELETE /v1/projects/{id} HTTP/1.1
Host:
Accept: */*
No content
Was this helpful?