Delete a round
US Region: https://public-api.sessionboard.com · EU Region: https://public-api-eu.sessionboard.com
Soft-deletes the round and moves its submissions back to the previous round, as the admin app does. The program's default (first) round cannot be deleted and returns 422. A round with reviewer assignments returns 409 unless force=true is sent. Requires the write:awards scope.
Request example
curl --request DELETE \ --url 'https://public-api.sessionboard.com/v1/organization/{orgId}/awards/programs/{programId}/rounds/{roundId}' \ --header 'x-access-token: <api-token>'const response = await fetch('https://public-api.sessionboard.com/v1/organization/{orgId}/awards/programs/{programId}/rounds/{roundId}', { method: 'DELETE', headers: { "x-access-token": "<api-token>" },});
const data = await response.json();console.log(data);import requests
response = requests.request( "DELETE", "https://public-api.sessionboard.com/v1/organization/{orgId}/awards/programs/{programId}/rounds/{roundId}", headers={ "x-access-token": "<api-token>" },)
print(response.json())<?php
$curl = curl_init();
curl_setopt_array($curl, [ CURLOPT_URL => "https://public-api.sessionboard.com/v1/organization/{orgId}/awards/programs/{programId}/rounds/{roundId}", CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => "DELETE", CURLOPT_HTTPHEADER => [ "x-access-token: <api-token>", ],]);
$response = curl_exec($curl);curl_close($curl);
echo $response;package main
import ( "fmt" "io" "net/http")
func main() { req, _ := http.NewRequest("DELETE", "https://public-api.sessionboard.com/v1/organization/{orgId}/awards/programs/{programId}/rounds/{roundId}", nil) req.Header.Add("x-access-token", "<api-token>")
res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))}HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://public-api.sessionboard.com/v1/organization/{orgId}/awards/programs/{programId}/rounds/{roundId}")) .header("x-access-token", "<api-token>") .method("DELETE", HttpRequest.BodyPublishers.noBody()) .build();
HttpResponse<String> response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());Try it
Response headers
Authorizations
x-access-tokenstringheaderOrganization API token. Generate from Organization Settings → API Tokens.
AuthorizationBearer <token>headerorOAuth 2.1 access token. Obtained via the OAuth PKCE flow at
/oauth/token.
Send one of these. See Authentication.
Path parameters
orgIdstringpathrequiredYour organization ID. Any other organization returns
404.programIdstring<uuid>pathrequiredThe Awards program ID.
roundIdstring<uuid>pathrequiredThe round ID.
Query parameters
forcebooleanqueryDelete even though the record is in use (see the
409response).- Default
false
Responses
204
Round deleted
401
Missing or invalid token
403application/json
Token lacks write:awards
errorstring- Allowed values
"VALIDATION_ERROR", "SCOPE_REQUIRED", "FORBIDDEN", "NOT_FOUND", "CONFLICT"
messagestring
404application/json
Not found — also returned for any id belonging to another organization
errorstring- Allowed values
"VALIDATION_ERROR", "SCOPE_REQUIRED", "FORBIDDEN", "NOT_FOUND", "CONFLICT"
messagestring
409application/json
Round has 8 reviewer assignments; send force=true to delete it
errorstring- Allowed values
"VALIDATION_ERROR", "SCOPE_REQUIRED", "FORBIDDEN", "NOT_FOUND", "CONFLICT"
messagestring
422application/json
The default round cannot be deleted
errorstring- Allowed values
"VALIDATION_ERROR", "SCOPE_REQUIRED", "FORBIDDEN", "NOT_FOUND", "CONFLICT"
messagestring
Response examples
{ "error": "SCOPE_REQUIRED", "message": "Token missing required scope: write:awards"}{ "error": "NOT_FOUND", "message": "Not found"}{ "error": "CONFLICT", "message": "Round has 8 reviewer assignments; send force=true to delete it"}{ "error": "VALIDATION_ERROR", "message": "The default round cannot be deleted"}