Skip to main content
Version: v1.2.1

Pause a Runtime

Pause a Runtime

POST 

https://api.cuemby.io/functions/v1/runtimes/:runtimeIdentifier/pause

Pause a Runtime

Request

Path Parameters

    runtimeIdentifier stringrequired

    The runtime ID or Name

Header Parameters

    X-Organization-Id string

    The ID of the organization (this parameter is not required when using API key authorization)

    X-Project-Id string

    The ID of the project (Use this if you are not going to use the X-Project-Name)

    X-Project-Name string

    The Name of the project (Use this if you are not going to use the X-Project-Id)

    X-Environment-Id string

    The ID of the environment (Use this if you are not going to use the X-Environment-Name)

    X-Environment-Name string

    The Name of the environment (Use this if you are not going to use the X-Environment-Id)

Responses

Success

Schema
    successboolean
    Default value: true
    timestampstring
    Default value: 2024-01-01T00:00:00.000Z
    statusCodenumber
    Default value: 200
    statusTextstring
    Default value: Success
    messagestring
    Default value: Message successfully
    localizationstring
    Default value: someone-method:success
    data object
    idstring

    The ID of the runtime history

    namestring
    projectIdstring
    environmentIdstring
    templateIdstring
    statusTypestring
    Default value: PAUSED
    trafficstring
    hostUrlstring
    tagNamestring
    dockerfilePathstring
    portsstring
    replicasstring
    deployedAtstring

    The date when the runtime was deployed or was created

    createdAtstring

    The date when the history was created

    integration object
    id
    fullNamestring
    urlRepostring
    repositoryNamestring
    environments object
    idstring
    namestring
    instanceTypes object
    idstring
    namestring

Authorization: x-api-key

name: x-api-keytype: apiKeyin: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.cuemby.io/functions/v1/runtimes/:runtimeIdentifier/pause");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("x-api-key", "<x-api-key>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.cuemby.io/functions/v1
Auth
Parameters
— pathrequired
— header
— header
— header
— header
— header
ResponseClear

Click the Send API Request button above and see the response here!