Block

Update the script of a custom block

Updates the script of a custom block, restricted to internal Recorded Future users with special privileges.

post/blocks/{id}/script

Request

  • Base URL
    https://api.recordedfuture.com/fusion/v3
  • URL
    https://api.recordedfuture.com/fusion/v3/blocks/{id}/script
  • Auth
    • API key in header X-RFToken
    • or OAuth 2
      Authorization code: https://id.recordedfuture.com/authorize
      Token URL: https://id.recordedfuture.com/token

Path parameters

idstring required

Block Id

Request body

scriptstring

Stringified Python code

Response

Result of operation

resultstring

Result of operation

Example response

{
  "result": "ok"
}

Changes

No recorded changes to this operation across all 1 revision of this API.