Project Keys
Update Project Key
Changed onUpdate a Project Key's name, description, roles, tool scoping, or Kafka ACLs.
Supports additive capability transitions:
- Send kafka_config on an API-only PK to add Kafka access. Response will include new_kafka_credentials with the plaintext Kafka password (shown once).
- Send role_ids or permission_ids on a Kafka-only PK to add API credentials. Response will include new_api_credentials with the plaintext client_secret (shown once).
Returns 400 if the key is in creating/deleting/delete_failed state. role_ids and permission_ids are mutually exclusive.
patch/project-keys/{project_key_id}
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_key_idstring required
Request body
Response
Successful Response
Changes
- info
the
response's property default value21600was added for the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info