You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2188bf8
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/openapi.json
+151Lines changed: 151 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10002,6 +10002,124 @@
10002
10002
}
10003
10003
}
10004
10004
},
10005
+
"/projects/{id}/api-keys": {
10006
+
"post": {
10007
+
"operationId": "createProjectApiKey",
10008
+
"summary": "Create a project API key",
10009
+
"description": "Create a new secret API key for a project and return it. Give each app or computer its own key, so you can revoke one without breaking the others. The project's existing keys keep working. Needs the `projects:write` permission.",
10010
+
"tags": [
10011
+
"Projects"
10012
+
],
10013
+
"security": [
10014
+
{
10015
+
"Authorization": []
10016
+
}
10017
+
],
10018
+
"parameters": [
10019
+
{
10020
+
"in": "path",
10021
+
"name": "id",
10022
+
"schema": {
10023
+
"type": "string",
10024
+
"description": "The ID of the project."
10025
+
},
10026
+
"required": true,
10027
+
"description": "The ID of the project."
10028
+
}
10029
+
],
10030
+
"requestBody": {
10031
+
"required": true,
10032
+
"content": {
10033
+
"application/json": {
10034
+
"schema": {
10035
+
"type": "object",
10036
+
"properties": {
10037
+
"name": {
10038
+
"default": "API key",
10039
+
"description": "A name for the key, shown on the API keys page of the dashboard. Name it after where the key is used, for example the app or the computer.",
0 commit comments