Skip to main content

Update promptathon

PUT 

/promptathon/:promptathonId

Update promptathon with given id

Request

Path Parameters

    promptathonId int64required

Body

required

    name string

    Name of the promptathon

    tags string[]

    List of tags being used by this promptathon.For GET requests, this is an optional field that needs to be specified in request params.

    url string

    URL

Responses

OK

Schema

    createdById int64

    Account Id of the creator of the promptathon

    dateCreated date-time
    dateModified date-time

    Date the promptathon was modified

    description stringrequired

    Description

    id int64

    Unique Id of the promptathon

    name stringrequired

    Name of the promptathon

    status string

    Status of the promptathon

    Possible values: [DRAFT, SUBMITED]

    tags string[]

    List of tags being used by this promptathon.For GET requests, this is an optional field that needs to be specified in request params.

    url stringrequired

    URL

    variationId int32
Loading...