Users
Responses
200
OK
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get/users
GET /v1/users HTTP/1.1
Accept: */*
{
"users": [
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"blueprintTags": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"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": {
"activeAccount": "text",
"email": "text",
"nextLoginAccount": "text",
"requestedMFA": true
},
"status": {}
}
]
}Body
Body of the request to add a user to an account
createbooleanOptional
Create should be true if the user should be created if they do not exist
emailstringOptional
Email address of the user to add
namestringOptional
Name of the user to add
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Tried to update a non-existing user, use the create flag to create a new user
application/json
500
Internal Server Error
application/json
post/users
POST /v1/users HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"create": true,
"email": "text",
"name": "text"
}{
"updates": [
{
"before": null,
"reason": "string",
"resource": null,
"status": "error"
}
]
}Path parameters
idstringRequired
the id of the user
Responses
200
OK
application/json
401
Unauthorized
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
get/users/{id}
GET /v1/users/{id} HTTP/1.1
Accept: */*
{
"user": {
"apiVersion": "string",
"kind": "string",
"metadata": {
"additionalInfo": {
"documentation": [
{
"text": "text",
"url": "text"
}
],
"message": "string"
},
"blueprintTags": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"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": {
"activeAccount": "text",
"email": "text",
"nextLoginAccount": "text",
"requestedMFA": true
},
"status": {}
}
}Path parameters
idstringRequired
the id of the user to remove from the current project
Responses
204
Successful removal, no content
No content
401
Unauthorized
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
delete/users/{id}
DELETE /v1/users/{id} HTTP/1.1
Accept: */*
No content
Path parameters
idstringRequired
the id of the user
Body
Body of the request to set a user's project role
rolestring · enumOptionalPossible values:
Responses
200
OK
application/json
400
Bad Request
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
put/users/{id}/project-role
PUT /v1/users/{id}/project-role HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"role": "admin"
}{
"updates": [
{
"before": null,
"reason": "string",
"resource": null,
"status": "error"
}
]
}Last updated
Was this helpful?