curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/users \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "<string>",
"displayName": "<string>",
"serviceAccount": true,
"email": "<string>"
}
'{
"role": "<string>",
"name": "<string>",
"displayName": "<string>",
"serviceAccount": true,
"createTime": "2023-11-07T05:31:56Z",
"email": "<string>",
"state": "STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"updateTime": "2023-11-07T05:31:56Z"
}curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/users \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "<string>",
"displayName": "<string>",
"serviceAccount": true,
"email": "<string>"
}
'{
"role": "<string>",
"name": "<string>",
"displayName": "<string>",
"serviceAccount": true,
"createTime": "2023-11-07T05:31:56Z",
"email": "<string>",
"state": "STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"updateTime": "2023-11-07T05:31:56Z"
}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The Account Id
The user ID to use in the user name. e.g. my-user If not specified, a default ID is generated from user.email.
The properties of the user being created.
A successful response.
The user's role, e.g. admin or user.
Human-readable display name of the user. e.g. "Alice" Must be fewer than 64 characters long.
The creation time of the user.
The user's email address.
The state of the user.
STATE_UNSPECIFIED, CREATING, READY, UPDATING, DELETING Contains information about the user status.
Show child attributes
The status code.
OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, DATA_LOSS A developer-facing error message in English.
The update time for the user.
Was this page helpful?