rozod
    Preparing search index...

    Variable patchCloudV2UniversesUniverseIdSecretsSecretIdConst Api Param Description

    patchCloudV2UniversesUniverseIdSecretsSecretId: EndpointGeneric<
        { secretId: string; universeId: number },
        {
            create_time: null | string;
            domain: null | string;
            id: null | string;
            key_id: null | string;
            secret: null | string;
            update_time: null | string;
        },
        {
            create_time: null
            | string;
            domain: null | string;
            id: null | string;
            key_id: null | string;
            secret: null | string;
            update_time: null | string;
        },
    > = ...

    PATCH https://apis.roblox.com/cloud/cloud/v2/universes/:universeId/secrets/:secretId Update Secret body The updated secret data with encrypted content universeId The universe ID secretId The ID of the secret to update Updates an existing secret.

    Only the owner of the universe can update secrets. For group-owned universes, only the group owner or authorized members can update secrets.

    Only the secret content, key_id, and domain can be updated - the secret ID cannot be changed.

    To encrypt the updated secret:

    1. Get the current public key using the GetPublicKey endpoint
    2. Encrypt your new secret content using LibSodium sealed box
    3. Base64 encode the encrypted content

    Include the key_id from the public key response in the request.

    For an example, see the Secrets store guide.